語言

WSTrustServiceContract.BeginDispatchRequest 方法

定義

開始對 進行非同步呼叫 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

參數

dispatchContext
DispatchContext

定義處理請求參數,並揭露決定回應訊息與動作的屬性。

asyncCallback
AsyncCallback

一個可選的非同步回撥,待派遣完成時呼叫。

asyncState
Object

一個使用者提供的物件,用來區分此特定非同步派遣請求與其他請求。

傳回

代表非同步操作的 A IAsyncResult 。 作為方法的輸入 EndDispatchRequest(IAsyncResult) 。

適用於