IInputChannel.EndReceive Method (IAsyncResult)


Completes an asynchronous operation to receive a message.

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

Message EndReceive(
	IAsyncResult 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);

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top