Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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,
	[OutAttribute] 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
Show:
© 2017 Microsoft