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^%)
.NET Framework (current version)
Completes the specified asynchronous operation to receive a request message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
bool EndTryReceiveRequest(
IAsyncResult^ result,
[OutAttribute] RequestContext^% context
)
Parameters
- result
-
Type:
System::IAsyncResult^
The IAsyncResult returned by a call to the BeginTryReceiveRequest(TimeSpan, AsyncCallback^, Object^) method.
- context
-
Type:
System.ServiceModel.Channels::RequestContext^%
The RequestContext received.
Return Value
Type: System::Booleantrue 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
Available since 3.0
Show: