語言

IWSTrustContract.BeginCancel(Message, AsyncCallback, Object) 方法

定義

WS-Trust 取消綁定的非同步開始方法。

public:
 IAsyncResult ^ BeginCancel(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Cancel", ReplyAction="*")]
public IAsyncResult BeginCancel(System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Cancel", ReplyAction="*")>]
abstract member BeginCancel : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginCancel (message As Message, callback As AsyncCallback, asyncState As Object) As IAsyncResult

參數

message
Message

A Message 代表請求訊息,其中包含 RST。

callback
AsyncCallback

一個可選 AsyncCallback 的代理,發送完成時會被呼叫。

asyncState
Object

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

傳回

一個 IAsyncResult 代表非同步傳送的物件,該傳送可能仍在待處理中。

屬性

適用於