C# Класс MsgPack.Rpc.Client.RequestMessageAsyncResult

IAsyncResult implementation for async RPC.
Наследование: MessageAsyncResult
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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