Redigera

Dela via


RoutingService.IRequestReplyRouter.BeginProcessRequest Method

Definition

Initiates the asynchronous processing of the message.

 virtual IAsyncResult ^ System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Routing::IRequestReplyRouter::BeginProcessRequest;
[System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)]
IAsyncResult IRequestReplyRouter.BeginProcessRequest (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)>]
abstract member System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Function BeginProcessRequest (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult Implements IRequestReplyRouter.BeginProcessRequest

Parameters

message
Message

The Message to be processed.

callback
AsyncCallback

An AsyncCallback delegate that is invoked when the message processing has completed.

state
Object

A user-defined state object that is passed to the callback procedure.

Returns

An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking IRequestReplyRouter.EndProcessRequest(IAsyncResult).

Implements

Attributes

Remarks

For more information on using the IRequestReplyRouter contract, see IRequestReplyRouter.

Applies to