IReplyChannel.EndTryReceiveRequest Method (IAsyncResult, RequestContext)


Completes the specified asynchronous operation to receive a request message.

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

bool EndTryReceiveRequest(
	IAsyncResult result,
	out RequestContext context

Return Value

Type: System.Boolean

true if a request message is received before the specified interval of time elapses; otherwise false.

The following code illustrates how to implement this method:

public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext requestContext)
    return TryReceiveRequestAsyncResult.End(result, out requestContext);

.NET Framework
Available since 3.0
Return to top