IInputChannel.EndReceive(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
}