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

Definition

Initiates the asynchronous processing of the message.

public:
 IAsyncResult ^ BeginProcessMessage(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=true)]
public IAsyncResult BeginProcessMessage (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
abstract member BeginProcessMessage : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult

Parameters

message
Message Message Message

The message to be processed.

callback
AsyncCallback AsyncCallback AsyncCallback

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

state
Object Object Object

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

Returns

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

Applies to