IReplyChannel::EndReceiveRequest Method (IAsyncResult^)
Completes an asynchronous operation to receive an available request.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- result
-
Type:
System::IAsyncResult^
The IAsyncResult returned by a call to the BeginReceive method.
Return Value
Type: System.ServiceModel.Channels::RequestContext^The RequestContext used to construct a reply to the request.
If the request message received is larger that the maximum message size allowed by the binding being used, a QuotaExceededException is thrown. The maximum message size is set by the MaxReceivedMessageSize property. The default value is 65536 bytes.
Notes to Implementers:
The operation should throw a TimeoutException if the specified timeout is exceeded before the operation is completed.
The following code illustrates how to implement this method:
public RequestContext EndReceiveRequest(IAsyncResult result) { return ReceiveRequestAsyncResult.End(result); }
Available since 3.0