共用方式為


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

使用者所提供的物件,其可以從其他要求中區分出這個特定非同步分派的要求。

傳回

表示非同步作業的 IAsyncResult。 做為 EndDispatchRequest(IAsyncResult) 方法的輸入。

適用於