Redigera

Dela via


WSTrustChannel.EndCancel Method

Definition

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

Overloads

EndCancel(IAsyncResult)

Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(Message, AsyncCallback, Object) method.

EndCancel(IAsyncResult, RequestSecurityTokenResponse)

Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(RequestSecurityToken, AsyncCallback, Object) method.

EndCancel(IAsyncResult)

Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(Message, AsyncCallback, Object) method.

public:
 virtual System::ServiceModel::Channels::Message ^ EndCancel(IAsyncResult ^ asyncResult);
public System.ServiceModel.Channels.Message EndCancel (IAsyncResult asyncResult);
abstract member EndCancel : IAsyncResult -> System.ServiceModel.Channels.Message
override this.EndCancel : IAsyncResult -> System.ServiceModel.Channels.Message
Public Function EndCancel (asyncResult As IAsyncResult) As Message

Parameters

asyncResult
IAsyncResult

The IAsyncResult reference to the outstanding asynchronous send request.

Returns

The Message returned from the STS.

Implements

Applies to

EndCancel(IAsyncResult, RequestSecurityTokenResponse)

Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(RequestSecurityToken, AsyncCallback, Object) method.

public:
 virtual void EndCancel(IAsyncResult ^ result, [Runtime::InteropServices::Out] System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ % rstr);
public void EndCancel (IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr);
abstract member EndCancel : IAsyncResult * RequestSecurityTokenResponse -> unit
override this.EndCancel : IAsyncResult * RequestSecurityTokenResponse -> unit
Public Sub EndCancel (result As IAsyncResult, ByRef rstr As RequestSecurityTokenResponse)

Parameters

result
IAsyncResult

The IAsyncResult reference to the outstanding asynchronous send request.

rstr
RequestSecurityTokenResponse

The RequestSecurityTokenResponse representing the STS response.

Implements

Applies to