C# 클래스 MsgPack.Rpc.Client.RequestMessageAsyncResult

IAsyncResult implementation for async RPC.
상속: MessageAsyncResult
파일 보기 프로젝트 열기: yfakariya/msgpack-rpc-cli 1 사용 예제들

공개 메소드들

메소드 설명
OnCompleted ( MsgPack.Rpc.Client.Protocols.ClientResponseContext context, Exception exception, bool completedSynchronously ) : void

Processes asynchronous operation completion logic.

RequestMessageAsyncResult ( Object owner, int messageId, AsyncCallback asyncCallback, object asyncState ) : System

Initializes a new instance of the RequestMessageAsyncResult class.

메소드 상세

OnCompleted() 공개 메소드

Processes asynchronous operation completion logic.
public OnCompleted ( MsgPack.Rpc.Client.Protocols.ClientResponseContext context, Exception exception, bool completedSynchronously ) : void
context MsgPack.Rpc.Client.Protocols.ClientResponseContext The response context which holds response data.
exception System.Exception The exception occured.
completedSynchronously bool When operation is completed same thread as initiater then true; otherwise, false.
리턴 void

RequestMessageAsyncResult() 공개 메소드

Initializes a new instance of the RequestMessageAsyncResult class.
/// is null. ///
public RequestMessageAsyncResult ( Object owner, int messageId, AsyncCallback asyncCallback, object asyncState ) : System
owner Object /// The owner of asynchrnous invocation. This value will not be null. ///
messageId int The ID of message.
asyncCallback AsyncCallback /// The callback of asynchrnous invocation which should be called in completion. /// This value can be null. ///
asyncState object /// The state object of asynchrnous invocation which will be passed to . /// This value can be null. ///
리턴 System