WSTrustServiceHost 成员

This class extends the ServiceHost class implemented by Windows Communication Foundation (WCF) service model programming model. It is a service host for registering Security Token Services (STSes) and let 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.

下表列出了 WSTrustServiceHost 类型公开的成员。

Public 构造函数

  名称 说明
  WSTrustServiceHost 已重载。 Initializes an instance of WSTrustServiceHost.

页首

Public 属性

(另请参阅 Protected 属性)

  名称 说明
public property Authorization  (从 ServiceHostBase 继承)
public property BaseAddresses  (从 ServiceHostBase 继承)
public property ChannelDispatchers  (从 ServiceHostBase 继承)
public property CloseTimeout  (从 ServiceHostBase 继承)
public property Credentials  (从 ServiceHostBase 继承)
public property Description  (从 ServiceHostBase 继承)
public property Extensions  (从 ServiceHostBase 继承)
public property ManualFlowControlLimit  (从 ServiceHostBase 继承)
public property OpenTimeout  (从 ServiceHostBase 继承)
public property SecurityTokenServiceConfiguration  
public property ServiceContract  
public property SingletonInstance  (从 ServiceHost 继承)
public property State  (从 CommunicationObject 继承)

页首

Protected 属性

  名称 说明
protected property DefaultCloseTimeout  (从 ServiceHostBase 继承)
protected property DefaultOpenTimeout  (从 ServiceHostBase 继承)
protected property ImplementedContracts  (从 ServiceHostBase 继承)
protected property IsDisposed  (从 CommunicationObject 继承)
protected property ThisLock  (从 CommunicationObject 继承)

页首

Public 方法

(另请参阅 Protected 方法)

  名称 说明
public method Abort  (从 CommunicationObject 继承)
public method AddServiceEndpoint  已重载。 (从 ServiceHost 继承)
public method BeginClose  已重载。 (从 CommunicationObject 继承)
public method BeginOpen  已重载。 (从 CommunicationObject 继承)
public method Close  已重载。 (从 CommunicationObject 继承)
public method EndClose  (从 CommunicationObject 继承)
public method EndOpen  (从 CommunicationObject 继承)
public method Equals  已重载。 (从 Object 继承)
public method GetHashCode  (从 Object 继承)
public method GetType  (从 Object 继承)
public method IncrementManualFlowControlLimit  (从 ServiceHostBase 继承)
public method Open  已重载。 (从 CommunicationObject 继承)
public methodstatic ReferenceEquals  (从 Object 继承)
public method ToString  (从 Object 继承)

页首

Protected 方法

  名称 说明
protected method AddBaseAddress  (从 ServiceHostBase 继承)
protected method ApplyConfiguration 重写。 Override of base class method. Loads WIF configuration and overrides WCF configuration settings with WIF settings.
protected method ConfigureMetadata Configures metadata (WSDL) for the service host. The method loops through the base addresses, and adds mex endpoints for http, https, net.tcp and net.pipe addresses, only when no mex endpoints have been previously added by the user. For http and https addresses, HTTP and HTTPS "Get" mechanism for WSDL retrieval is enabled.
protected method CreateDescription  (从 ServiceHost 继承)
protected method Fault  (从 CommunicationObject 继承)
protected method Finalize  (从 Object 继承)
protected method GetCommunicationObjectType  (从 CommunicationObject 继承)
protected method InitializeDescription  已重载。 (从 ServiceHost 继承)
protected method InitializeRuntime 重写。 Override of the base class method. Configures following settings on the service host. (1) Service Debug Behavior to include ExceptionDetailsInFault; (2) Configure the ExtensibleSecurityTokenManager on the service host.
protected method InitializeSecurityTokenManager Initializes the SecurityTokenManager that will be exposed through the wrapped ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with SecurityTokenServiceConfiguration through the ServiceHost SecurityTokenManager. Note here we will only re-configure the service host when its credentials is not FederatedServiceCredentials, which allows user to manually configure the credentials themselves.
protected method LoadConfigurationSection  (从 ServiceHostBase 继承)
protected method MemberwiseClone  (从 Object 继承)
protected method OnAbort  (从 ServiceHostBase 继承)
protected method OnBeginClose  (从 ServiceHostBase 继承)
protected method OnBeginOpen  (从 ServiceHostBase 继承)
protected method OnClose  (从 ServiceHostBase 继承)
protected method OnClosed  (从 ServiceHost 继承)
protected method OnClosing  (从 CommunicationObject 继承)
protected method OnEndClose  (从 ServiceHostBase 继承)
protected method OnEndOpen  (从 ServiceHostBase 继承)
protected method OnFaulted  (从 CommunicationObject 继承)
protected method OnOpen  (从 ServiceHostBase 继承)
protected method OnOpened  (从 ServiceHostBase 继承)
protected method OnOpening  (从 CommunicationObject 继承)
protected method ReleasePerformanceCounters  (从 ServiceHostBase 继承)
protected method ThrowIfDisposed  (从 CommunicationObject 继承)
protected method ThrowIfDisposedOrImmutable  (从 CommunicationObject 继承)
protected method ThrowIfDisposedOrNotOpen  (从 CommunicationObject 继承)

页首

Public 事件

  名称 说明
public event Closed  (从 CommunicationObject 继承)
public event Closing  (从 CommunicationObject 继承)
public event Faulted  (从 CommunicationObject 继承)
public event Opened  (从 CommunicationObject 继承)
public event Opening  (从 CommunicationObject 继承)
public event UnknownMessageReceived  (从 ServiceHostBase 继承)

页首

显式接口实现

  名称 说明
  System.IDisposable.Dispose  (从 ServiceHostBase 继承)

页首

请参见

参考

WSTrustServiceHost 类
Microsoft.IdentityModel.Protocols.WSTrust 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。