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

This class extends the ServiceHost class implemented by the Windows Communication Foundation (WCF) service model programming model. It is a service host for registering Security Token Services (STSs) and lets you expose an STS for use by client applications when you are not using Internet Information Services (IIS). The ServiceHost will have multiple endpoints registered based on the number of listeners registered in the configuration.

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

Public Constructors

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

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Authorization  (Inherited from ServiceHostBase)
public property BaseAddresses  (Inherited from ServiceHostBase)
public property ChannelDispatchers  (Inherited from ServiceHostBase)
public property CloseTimeout  (Inherited from ServiceHostBase)
public property Credentials  (Inherited from ServiceHostBase)
public property Description  (Inherited from ServiceHostBase)
public property Extensions  (Inherited from ServiceHostBase)
public property ManualFlowControlLimit  (Inherited from ServiceHostBase)
public property OpenTimeout  (Inherited from ServiceHostBase)
public property SecurityTokenServiceConfiguration Gets the service (STS) configuration for this this instance.
public property ServiceContract Gets the service contract associated with this instance.
public property SingletonInstance  (Inherited from ServiceHost)
public property State  (Inherited from CommunicationObject)

Top

Protected Properties

  Name Description
protected property DefaultCloseTimeout  Overridden. (Inherited from CommunicationObject)
protected property DefaultOpenTimeout  Overridden. (Inherited from CommunicationObject)
protected property ImplementedContracts  (Inherited from ServiceHostBase)
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 AddServiceEndpoint  (Inherited from ServiceHost)
public method AddServiceEndpoint  (Inherited from ServiceHost)
public method AddServiceEndpoint  (Inherited from ServiceHost)
public method AddServiceEndpoint  (Inherited from ServiceHost)
public method AddServiceEndpoint  (Inherited from ServiceHostBase)
public method AddServiceEndpoint  (Inherited from ServiceHostBase)
public method AddServiceEndpoint  (Inherited from ServiceHostBase)
public method AddServiceEndpoint  (Inherited from ServiceHostBase)
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 EndClose  (Inherited from CommunicationObject)
public method EndOpen  (Inherited from CommunicationObject)
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method IncrementManualFlowControlLimit  (Inherited from ServiceHostBase)
public method Open  (Inherited from CommunicationObject)
public method Open  (Inherited from CommunicationObject)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method AddBaseAddress  (Inherited from ServiceHostBase)
protected method ApplyConfiguration Overridden. Override of the base class method to include Windows® Identity Foundation (WIF) functionality. Loads the WIF configuration and overrides the WCF configuration settings with WIF settings.
protected method ConfigureMetadata Configures metadata (WSDL) for the service host.
protected method CreateDescription  Overridden. (Inherited from ServiceHostBase)
protected method Fault  (Inherited from CommunicationObject)
protected method Finalize  (Inherited from Object)
protected method GetCommunicationObjectType  (Inherited from CommunicationObject)
protected method InitializeDescription  (Inherited from ServiceHost)
protected method InitializeDescription  (Inherited from ServiceHost)
protected method InitializeDescription  (Inherited from ServiceHostBase)
protected method InitializeRuntime Overridden. Override of the base class method to include Windows® Identity Foundation (WIF) functionality.
protected method InitializeSecurityTokenManager Initializes the security token manager associated with the service host.
protected method LoadConfigurationSection  (Inherited from ServiceHostBase)
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  Overridden. (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  (Inherited from CommunicationObject)
protected method ReleasePerformanceCounters  (Inherited from ServiceHostBase)

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)
public event UnknownMessageReceived  (Inherited from ServiceHostBase)

Top

See Also

Reference

WSTrustServiceHost Class
Microsoft.IdentityModel.Protocols.WSTrust Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.