WSTrustServiceContract.BeginDispatchRequest Method

Definition

Begins an asynchronous call to DispatchRequest(DispatchContext).

C#
protected virtual IAsyncResult BeginDispatchRequest(System.ServiceModel.Security.DispatchContext dispatchContext, AsyncCallback asyncCallback, object asyncState);

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

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1