RoutingService.IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) RoutingService.IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) Method

Definition

Begins the asynchronous processing of the message.

 virtual IAsyncResult ^ System.ServiceModel.Routing.IDuplexSessionRouter.BeginProcessMessage(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Routing::IDuplexSessionRouter::BeginProcessMessage;
[System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)]
IAsyncResult IDuplexSessionRouter.BeginProcessMessage (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);

Parameters

message
Message Message

The Message to be processed.

callback
AsyncCallback AsyncCallback

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

state
Object 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 IDuplexSessionRouter.EndProcessMessage(IAsyncResult).

Implements

Remarks

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

Applies to