RoutingService.ISimplexSessionRouter.BeginProcessMessage Method

Definition

Initiates the asynchronous processing of the message.

C#
[System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)]
IAsyncResult ISimplexSessionRouter.BeginProcessMessage(System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);

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 ISimplexSessionRouter.EndProcessMessage(IAsyncResult).

Implements

Attributes

Remarks

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

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1