Editar

Compartilhar via


IRequestReplyRouter.BeginProcessRequest Method

Definition

Initiates the asynchronous processing of the message.

public:
 IAsyncResult ^ BeginProcessRequest(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=false, ReplyAction="*")]
public IAsyncResult BeginProcessRequest (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=false, ReplyAction="*")>]
abstract member BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginProcessRequest (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 EndProcessRequest(IAsyncResult).

Attributes

Applies to