IDuplexSessionRouter.BeginProcessMessage Method (Message, AsyncCallback, Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

message
Type: System.ServiceModel.Channels.Message

The message to be processed.

callback
Type: System.AsyncCallback

An asynchronous callback 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 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
Show: