共用方式為


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

Message,表示包含 RST 的要求訊息。

callback
AsyncCallback

選擇性的 AsyncCallback 委派,會在傳送完成時呼叫。

asyncState
Object

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

傳回

IAsyncResult

IAsyncResult 物件,表示可能還在暫止中的非同步傳送。

屬性

適用於