Bearbeiten

Freigeben über


WSTrustChannel.BeginCancel Method

Definition

Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint.

Overloads

BeginCancel(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified RequestSecurityToken object.

BeginCancel(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified Message object.

BeginCancel(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified RequestSecurityToken object.

public:
 virtual IAsyncResult ^ BeginCancel(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginCancel (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state);
abstract member BeginCancel : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginCancel : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Function BeginCancel (rst As RequestSecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

rst
RequestSecurityToken

The RequestSecurityToken that represents the request to the STS.

callback
AsyncCallback

The AsyncCallback delegate that receives notification of the completion of the asynchronous cancel operation.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous cancel operation.

Returns

The IAsyncResult that references the asynchronous cancel operation.

Implements

Applies to

BeginCancel(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified Message object.

public:
 virtual IAsyncResult ^ BeginCancel(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
public IAsyncResult BeginCancel (System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
abstract member BeginCancel : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.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

The Message that contains the instructions for the request to the STS.

callback
AsyncCallback

The AsyncCallback delegate that receives notification of the completion of the asynchronous cancel operation.

asyncState
Object

An object, specified by the application, that contains state information associated with the asynchronous cancel operation.

Returns

The IAsyncResult that references the asynchronous cancel operation.

Implements

Applies to