WSTrustChannel.Cancel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
The Message returned from the STS.
Implements
Applies to
.NET