Επεξεργασία

Κοινή χρήση μέσω


IDuplexSessionRouter.BeginProcessMessage 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);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=true)>]
abstract member BeginProcessMessage : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginProcessMessage (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

message
Message

The message to be processed.

callback
AsyncCallback

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

state
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).

Attributes

Applies to