편집

다음을 통해 공유


WSTrustChannel.Cancel Method

Definition

Sends a WS-Trust Cancel message to an endpoint.

Overloads

Cancel(RequestSecurityToken)

Sends a WS-Trust Cancel message to an endpoint using the specified Message object.

Cancel(Message)

Sends a WS-Trust Cancel message to an endpoint using the specified Message object.

Cancel(RequestSecurityToken)

Sends a WS-Trust Cancel message to an endpoint using the specified Message object.

public:
 virtual System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ Cancel(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst);
public virtual System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse Cancel (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst);
abstract member Cancel : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
override this.Cancel : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
Public Overridable Function Cancel (rst As RequestSecurityToken) As RequestSecurityTokenResponse

Parameters

rst
RequestSecurityToken

The RequestSecurityToken that represents the request to the STS.

Returns

The RequestSecurityTokenResponse representing the STS response.

Implements

Applies to

Cancel(Message)

Sends a WS-Trust Cancel message to an endpoint using the specified Message object.

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

Parameters

message
Message

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

Returns

The Message returned from the STS.

Implements

Applies to