IDuplexSessionRouter.BeginProcessMessage Method (Message, AsyncCallback, Object)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initiates the asynchronous processing of the message.

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

[OperationContractAttribute(AsyncPattern = true, IsOneWay = true, 
	Action = "*")]
IAsyncResult BeginProcessMessage(
	Message message,
	AsyncCallback callback,
	object state


Type: System.ServiceModel.Channels.Message

The message to be processed.

Type: System.AsyncCallback

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

Type: System.Object

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

Return Value

Type: System.IAsyncResult

An asynchronous result that can be used to poll or wait for results, or both; this value is also required when invoking EndProcessMessage.

.NET Framework
Available since 4.0
Return to top