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.

C#
public IAsyncResult BeginCancel(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state);

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

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

BeginCancel(Message, AsyncCallback, Object)

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

C#
public IAsyncResult BeginCancel(System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);

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

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1