Share via


IWSTrustChannelContract.BeginCancel Metodo

Definizione

In modo asincrono invia un messaggio di annullamento WS-Trust a un 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

Parametri

request
RequestSecurityToken

RequestSecurityToken che rappresenta la richiesta alla STS.

callback
AsyncCallback

Delegato AsyncCallback facoltativo, da chiamare quando l'invio è completo.

state
Object

Oggetto fornito dall'utente che distingue questa specifica richiesta di invio asincrona da altre richieste.

Restituisce

Oggetto IAsyncResult che rappresenta l'invio asincrono, che può essere ancora in sospeso.

Si applica a