This documentation is archived and is not being maintained.

RoutingService::IDuplexSessionRouter::BeginProcessMessage Method

Initiates the asynchronous processing of the message.

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

[OperationBehaviorAttribute(Impersonation = ImpersonationOption::Allowed)]
private:
virtual IAsyncResult^ BeginProcessMessage(
	Message^ message, 
	AsyncCallback^ callback, 
	Object^ state
) sealed = IDuplexSessionRouter::BeginProcessMessage

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

Implements

IDuplexSessionRouter::BeginProcessMessage(Message, AsyncCallback, Object)

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

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: