WSTrustChannelFactory Members

[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.]

A factory that produces channels (WSTrustChannel objects) used to communicate to a WS-Trust endpoint.

The following tables list the members exposed by the WSTrustChannelFactory type.

Public Constructors

  Name Description
  WSTrustChannelFactory Overloaded. Initializes a new instance of the WSTrustChannelFactory class.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Credentials  (Inherited from ChannelFactory)
public property Endpoint  (Inherited from ChannelFactory)
public property SecurityTokenHandlerCollectionManager Gets or sets the SecurityTokenHandlerCollectionManager that contains the set of SecurityTokenHandler objects used by channels created by this factory for serializing and validating tokens found in WS-Trust messages.
public property SecurityTokenResolver Gets or sets the SecurityTokenResolver used to resolve security token references found in most elements of WS-Trust messages.
public property State  (Inherited from CommunicationObject)
public property TrustVersion Gets or sets the version of WS-Trust that channels created by this factory use for serializing messages.
public property UseKeyTokenResolver Gets or sets the SecurityTokenResolver used to resolve security token references found in the wst:UseKey element of RST messages as well as the wst:RenewTarget element found in RST messages.
public property WSTrustRequestSerializer Gets or sets the WSTrustRequestSerializer used for serializing wst:RequestSecurityToken messages.
public property WSTrustResponseSerializer Gets or sets the WSTrustResponseSerializer used for serializing wst:RequestSecurityTokensResponse messages.

Top

Protected Properties

  Name Description
protected property DefaultCloseTimeout  Overridden. (Inherited from CommunicationObject)
protected property DefaultOpenTimeout  Overridden. (Inherited from CommunicationObject)
protected property IsDisposed  (Inherited from CommunicationObject)
protected property ThisLock  (Inherited from CommunicationObject)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Abort  (Inherited from CommunicationObject)
public method BeginClose  (Inherited from CommunicationObject)
public method BeginClose  (Inherited from CommunicationObject)
public method BeginOpen  (Inherited from CommunicationObject)
public method BeginOpen  (Inherited from CommunicationObject)
public method Close  (Inherited from CommunicationObject)
public method Close  (Inherited from CommunicationObject)
public method CreateChannel Overridden. Creates a WSTrustChannel object that is used to send messages to a service at a specific endpoint address through a specified transport address.
public method CreateChannel  (Inherited from ChannelFactory)
public method CreateChannel  (Inherited from ChannelFactory)
public method EndClose  (Inherited from CommunicationObject)
public method EndOpen  (Inherited from CommunicationObject)
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetProperty  (Inherited from ChannelFactory)
public method GetType  (Inherited from Object)
public method Open  (Inherited from CommunicationObject)
public method Open  (Inherited from CommunicationObject)
public method ToString  (Inherited from Object)

Top

Protected Methods

(see also Extension Methods)

  Name Description
protected method ApplyConfiguration  (Inherited from ChannelFactory)
protected method CreateDescription  Overridden. (Inherited from ChannelFactory)
protected method CreateFactory  (Inherited from ChannelFactory)
protected method CreateSerializationContext Creates a WSTrustSerializationContext object used by channels created by the factory.
protected method CreateTrustChannel Creates a WSTrustChannel object using parameters that reflect the configuration of this factory.
protected method EnsureOpened  (Inherited from ChannelFactory)
protected method Fault  (Inherited from CommunicationObject)
protected method Finalize  (Inherited from Object)
protected method GetCommunicationObjectType  (Inherited from CommunicationObject)
protected method InitializeEndpoint  (Inherited from ChannelFactory)
protected method InitializeEndpoint  (Inherited from ChannelFactory)
protected method InitializeEndpoint  (Inherited from ChannelFactory)
protected method MemberwiseClone  (Inherited from Object)
protected method OnAbort  Overridden. (Inherited from CommunicationObject)
protected method OnBeginClose  Overridden. (Inherited from CommunicationObject)
protected method OnBeginOpen  Overridden. (Inherited from CommunicationObject)
protected method OnClose  Overridden. (Inherited from CommunicationObject)
protected method OnClosed  (Inherited from CommunicationObject)
protected method OnClosing  (Inherited from CommunicationObject)
protected method OnEndClose  Overridden. (Inherited from CommunicationObject)
protected method OnEndOpen  Overridden. (Inherited from CommunicationObject)
protected method OnFaulted  (Inherited from CommunicationObject)
protected method OnOpen  Overridden. (Inherited from CommunicationObject)
protected method OnOpened  Overridden. (Inherited from CommunicationObject)
protected method OnOpening  Overridden. (Inherited from CommunicationObject)

Top

Extension Methods

  Name Description
public extension method ConfigureChannelFactory  Configures the specified ChannelFactory to use FederatedClientCredentials to provide additional features for requesting issued tokens. (Defined by ChannelFactoryOperations.)
public extension method CreateChannelActingAs  Overloaded. (Defined by ChannelFactoryOperations.)
public extension method CreateChannelOnBehalfOf  Overloaded. (Defined by ChannelFactoryOperations.)
public extension method CreateChannelWithIssuedToken  Overloaded. (Defined by ChannelFactoryOperations.)

Top

Public Events

  Name Description
public event Closed  (Inherited from CommunicationObject)
public event Closing  (Inherited from CommunicationObject)
public event Faulted  (Inherited from CommunicationObject)
public event Opened  (Inherited from CommunicationObject)
public event Opening  (Inherited from CommunicationObject)

Top

See Also

Reference

WSTrustChannelFactory Class
Microsoft.IdentityModel.Protocols.WSTrust Namespace

Other Resources

WSTrustChannelFactory and WSTrustChannel

Copyright © 2008 by Microsoft Corporation. All rights reserved.