Editar

Compartir a través de


IWSTrustChannelContract.BeginCancel Method

Definition

Asynchronously sends a WS-Trust Cancel message to an endpoint.

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

Parameters

request
RequestSecurityToken

The RequestSecurityToken that represents the request to the STS.

callback
AsyncCallback

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

state
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.

Applies to