RoutingService.IRequestReplyRouter.BeginProcessRequest Metodo

Definizione

Avvia l'elaborazione asincrona del messaggio.

 virtual IAsyncResult ^ System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Routing::IRequestReplyRouter::BeginProcessRequest;
[System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)]
IAsyncResult IRequestReplyRouter.BeginProcessRequest(System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)>]
abstract member System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Function BeginProcessRequest (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult Implements IRequestReplyRouter.BeginProcessRequest

Parametri

message
Message

Oggetto Message da elaborare.

callback
AsyncCallback

Delegato AsyncCallback richiamato al termine dell'elaborazione del messaggio.

state
Object

Oggetto di stato definito dall'utente passato alla routine di callback.

Valori restituiti

Oggetto IAsyncResult che può essere utilizzato per eseguire il polling o attendere i risultati oppure entrambi. Questo valore è necessario anche quando si richiama IRequestReplyRouter.EndProcessRequest(IAsyncResult).

Implementazioni

Attributi

Commenti

Per altre informazioni sull'uso del contratto IRequestReplyRouter, vedere IRequestReplyRouter.

Si applica a