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

.NET Framework (current version)
 

Begins the asynchronous processing of the message.

Namespace:   System.ServiceModel.Routing
Assembly:  System.ServiceModel.Routing (in System.ServiceModel.Routing.dll)

[OperationBehaviorAttribute(Impersonation = ImpersonationOption.Allowed)]
IAsyncResult IDuplexSessionRouter.BeginProcessMessage(
	Message message,
	AsyncCallback callback,
	object state
)

Parameters

message
Type: System.ServiceModel.Channels.Message

The Message to be processed.

callback
Type: System.AsyncCallback

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

state
Type: System.Object

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

Return Value

Type: System.IAsyncResult

An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking IDuplexSessionRouter.EndProcessMessage.

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

.NET Framework
Available since 4.0
Return to top
Show: