IInputChannel.EndReceive(IAsyncResult) IInputChannel.EndReceive(IAsyncResult) IInputChannel.EndReceive(IAsyncResult) 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 IAsyncResult IAsyncResult IAsyncResult

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

Returns

Examples

The following code illustrates how to implement this method:

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

Applies to