WSTrustServiceContract.BeginDispatchRequest(DispatchContext, AsyncCallback, Object) 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

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