IReplyChannel.EndReceiveRequest(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Completes an asynchronous operation to receive an available request.
public:
System::ServiceModel::Channels::RequestContext ^ EndReceiveRequest(IAsyncResult ^ result);
public System.ServiceModel.Channels.RequestContext EndReceiveRequest (IAsyncResult result);
abstract member EndReceiveRequest : IAsyncResult -> System.ServiceModel.Channels.RequestContext
Public Function EndReceiveRequest (result As IAsyncResult) As RequestContext
Parameters
- result
- IAsyncResult
The IAsyncResult returned by a call to the BeginReceive method.
Returns
The RequestContext used to construct a reply to the request.
Examples
The following code illustrates how to implement this method:
public RequestContext EndReceiveRequest(IAsyncResult result)
{
return ReceiveRequestAsyncResult.End(result);
}
Remarks
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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應