Editar

Partilhar via


WSTrustServiceContract.BeginDispatchRequest Method

Definition

Begins an asynchronous call to DispatchRequest(DispatchContext).

protected:
 virtual IAsyncResult ^ BeginDispatchRequest(System::ServiceModel::Security::DispatchContext ^ dispatchContext, AsyncCallback ^ asyncCallback, System::Object ^ asyncState);
protected virtual IAsyncResult BeginDispatchRequest (System.ServiceModel.Security.DispatchContext dispatchContext, AsyncCallback asyncCallback, object asyncState);
abstract member BeginDispatchRequest : System.ServiceModel.Security.DispatchContext * AsyncCallback * obj -> IAsyncResult
override this.BeginDispatchRequest : System.ServiceModel.Security.DispatchContext * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function BeginDispatchRequest (dispatchContext As DispatchContext, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult

Parameters

dispatchContext
DispatchContext

Defines the request parameters to process and exposes properties that determine the response message and action.

asyncCallback
AsyncCallback

An optional asynchronous callback, to be called when the dispatch is complete.

asyncState
Object

A user-provided object that distinguishes this particular asynchronous dispatch request from other requests.

Returns

A IAsyncResult that represents the asynchronous operation. Used as the input to the EndDispatchRequest(IAsyncResult) method.

Applies to