Modifica

Condividi tramite


IInputChannel.EndReceive(IAsyncResult) Method

Definition

Completes an asynchronous operation to receive a message.

public:
 System::ServiceModel::Channels::Message ^ EndReceive(IAsyncResult ^ result);
public System.ServiceModel.Channels.Message EndReceive (IAsyncResult result);
abstract member EndReceive : IAsyncResult -> System.ServiceModel.Channels.Message
Public Function EndReceive (result As IAsyncResult) As Message

Parameters

result
IAsyncResult

The IAsyncResult returned by a call to one of the BeginReceive methods.

Returns

The Message received.

Examples

The following code illustrates how to implement this method:

public Message EndReceive(IAsyncResult result)
{
    return ReceiveAsyncResult<TChannel>.End(result);
}

Applies to