Export (0) Print
Expand All

IInputChannel.EndReceive Method

Completes an asynchronous operation to receive a message.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Message EndReceive(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult

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

Return Value

Type: System.ServiceModel.Channels.Message
The Message received.

The following code illustrates how to implement this method:

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft