WSTrustServiceContract Methods

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Public Methods

(see also Protected Methods)

  Name Description
public method AddBindingParameters Configures any binding elements to support the contract behavior.
public method ApplyClientBehavior The contract description for which the extension is intended.
public method ApplyDispatchBehavior Implements a modification or extension of the client across a contract.
public method BeginTrust13Cancel Processes an asynchronous call to the WS-Trust Feb 1.3 Cancel message.
public method BeginTrust13CancelResponse Processes an asynchronous call to the WS-Trust 1.3 RSTR/Cancel message.
public method BeginTrust13Issue Processes an asynchronous call to the WS-Trust 1.3 Issue message.
public method BeginTrust13IssueResponse Processes an asynchronous call to the WS-Trust 1.3 RSTR/Issue message.
public method BeginTrust13Renew Processes an asynchronous call to the WS-Trust 1.3 Renew message.
public method BeginTrust13RenewResponse Processes an asynchronous call to the WS-Trust 1.3 RSTR/Renew message.
public method BeginTrust13Validate Processes an asynchronous call to the WS-Trust 1.3 Validate message.
public method BeginTrust13ValidateResponse Processes an asynchronous call to the WS-Trust 1.3 RSTR/Validate message.
public method BeginTrustFeb2005Cancel Processes an asynchronous call to the WS-Trust Feb 2005 Cancel message.
public method BeginTrustFeb2005CancelResponse Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Cancel message.
public method BeginTrustFeb2005Issue Processes an asynchronous call to the WS-Trust Feb 2005 Issue message.
public method BeginTrustFeb2005IssueResponse Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Issue message.
public method BeginTrustFeb2005Renew Processes an asynchronous call to the WS-Trust Feb 2005 Renew message.
public method BeginTrustFeb2005RenewResponse Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Renew message.
public method BeginTrustFeb2005Validate Processes an asynchronous call to the WS-Trust Feb 2005 Validate message.
public method BeginTrustFeb2005ValidateResponse Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Validate message.
public method EndTrust13Cancel Completes an asynchronous call to the WS-Trust 1.3 Cancel message.
public method EndTrust13CancelResponse Completes an asynchronous call to the WS-Trust 1.3 RSTR/Cancel message.
public method EndTrust13Issue Completes an asynchronous call to the WS-Trust 1.3 Issue message.
public method EndTrust13IssueResponse Completes an asynchronous call to the WS-Trust 1.3 RSTR/Issue message.
public method EndTrust13Renew Completes an asynchronous call to the WS-Trust 1.3 Renew message.
public method EndTrust13RenewResponse Completes an asynchronous call to the WS-Trust 1.3 RSTR/Renew message.
public method EndTrust13Validate Completes an asynchronous call to the WS-Trust 1.3 Validate message.
public method EndTrust13ValidateResponse Completes an asynchronous call to the WS-Trust 1.3 RSTR/Validate message.
public method EndTrustFeb2005Cancel Completes an asynchronous call to the WS-Trust Feb 2005 Cancel message.
public method EndTrustFeb2005CancelResponse Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Cancel message.
public method EndTrustFeb2005Issue Complete an Asynchronous call to Trust Feb 2005 Cancel message.
public method EndTrustFeb2005IssueResponse Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Issue message.
public method EndTrustFeb2005Renew Completes an asynchronous call to the WS-Trust Feb 2005 Renew message.
public method EndTrustFeb2005RenewResponse Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Renew message.
public method EndTrustFeb2005Validate Completes an asynchronous call to the WS-Trust Feb 2005 Validate message.
public method EndTrustFeb2005ValidateResponse Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Validate message.
public method Equals  (Inherited from Object)
public method ExportContract When implemented in a derived class, writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.
public method ExportEndpoint Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ProcessTrust13Cancel Processes a WS-Trust 1.3 Cancel message synchronously.
public method ProcessTrust13CancelResponse Processes a WS-Trust 1.3 RSTR/Cancel message synchronously.
public method ProcessTrust13Issue Process a WS-Trust 1.3 Issue message synchronously.
public method ProcessTrust13IssueResponse Processes a WS-Trust 1.3 RSTR/Cancel message synchronously.
public method ProcessTrust13Renew Processes a WS-Trust 1.3 Renew message synchronously.
public method ProcessTrust13RenewResponse Processes a WS-Trust 1.3 RSTR/Renew message synchronously.
public method ProcessTrust13Validate Processes a WS-Trust 1.3 Validate message synchronously.
public method ProcessTrust13ValidateResponse Processes a WS-Trust 1.3 RSTR/Validate message synchronously.
public method ProcessTrustFeb2005Cancel Processes a WS-Trust Feb 2005 Cancel message synchronously.
public method ProcessTrustFeb2005CancelResponse Processes a WS-Trust Feb 2005 RSTR/Cancel message synchronously.
public method ProcessTrustFeb2005Issue Processes a WS-Trust Feb 2005 Issue message synchronously.
public method ProcessTrustFeb2005IssueResponse Processes a WS-Trust Feb 2005 RSTR/Issue message synchronously.
public method ProcessTrustFeb2005Renew Processes a WS-Trust Feb 2005 Renew message synchronously.
public method ProcessTrustFeb2005RenewResponse Processes a WS-Trust Feb 2005 RSTR/Renew message synchronously.
public method ProcessTrustFeb2005Validate Processes a WS-Trust Feb 2005 Validate message synchronously.
public method ProcessTrustFeb2005ValidateResponse Processes a WS-Trust Feb 2005 RSTR/Validate message synchronously.
public method ToString  (Inherited from Object)
public method Validate When implemented in a derived class, confirm that the contract and endpoint can support the contract behavior.

Protected Methods

  Name Description
protected method BeginDispatchRequest Begins an asynchronous call to DispatchRequest.
protected method BeginProcessCore Handles an asynchronous call to the STS.
protected method CreateDispatchContext Creates a DispatchContext object for use by the DispatchRequest method.
protected method CreateSerializationContext Creates a WSTrustSerializationContext object using the local resolver information of the WSTrustServiceClient.
protected method DispatchRequest Processes a WS-Trust request message, and optionally determines the appropriate response message and the WS-Addressing action for the response message.
protected method EndDispatchRequest Completes an asynchronous call to DispatchRequest.
protected method EndProcessCore Completes an asynchronous call to the STS.
protected method Finalize  (Inherited from Object)
protected method FixMessageElement During WSDL generation, this method fixes a specified operation message element to refer to the RST and RSTR elements of the appropriate WS-Trust version.
protected method GetRstSecurityTokenResolver Returns the SecurityTokenResolver that will be used when resolving tokens and keys in the WS-Trust message body.
protected method GetSecurityHeaderTokenResolver Returns the SecurityTokenResolver that resolves the following security tokens contained in the security header of the current WCF message request: protection token, endorsing, or signed endorsing supporting tokens.
protected method HandleException Raises the RequestFailed event and converts the specified exception to a FaultException if required. If the original exception was a FaultException or if the PreserveOriginalException flag is set to true, the conversion to FaultException is not performed.
protected method ImportSchema Imports all the required schema if not already present in the WSDL.
protected method IncludeNamespace Adds the required WS-Trust namespaces to the WSDL if not already present.
protected method MemberwiseClone  (Inherited from Object)
protected method ProcessCore Handles synchronous calls to the STS.
protected method ValidateDispatchContext Validates the specified DispatchContext object.

See Also

Reference

WSTrustServiceContract Class
Microsoft.IdentityModel.Protocols.WSTrust Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.