Επεξεργασία

Κοινή χρήση μέσω


IWSTrustContract.BeginCancel(Message, AsyncCallback, Object) Method

Definition

The asynchronous begin method for the WS-Trust Cancel binding.

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

Parameters

message
Message

A Message that represents the request message, which contains the RST.

callback
AsyncCallback

An optional AsyncCallback delegate, to be called when the send is complete.

asyncState
Object

A user-provided object that distinguishes this particular asynchronous send request from other requests.

Returns

An IAsyncResult object that represents the asynchronous send, which could still be pending.

Attributes

Applies to