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.
The following tables list the members exposed by the WSTrustServiceHost type.
Public Constructors
Name | Description | |
---|---|---|
WSTrustServiceHost | Overloaded. Initializes an instance of WSTrustServiceHost. |
Public Properties (see also Protected Properties)
Name | Description | |
---|---|---|
Authorization | (Inherited from ServiceHostBase) | |
BaseAddresses | (Inherited from ServiceHostBase) | |
ChannelDispatchers | (Inherited from ServiceHostBase) | |
CloseTimeout | (Inherited from ServiceHostBase) | |
Credentials | (Inherited from ServiceHostBase) | |
Description | (Inherited from ServiceHostBase) | |
Extensions | (Inherited from ServiceHostBase) | |
ManualFlowControlLimit | (Inherited from ServiceHostBase) | |
OpenTimeout | (Inherited from ServiceHostBase) | |
SecurityTokenServiceConfiguration | ||
ServiceContract | ||
SingletonInstance | (Inherited from ServiceHost) | |
State | (Inherited from CommunicationObject) |
Protected Properties
Name | Description | |
---|---|---|
DefaultCloseTimeout | (Inherited from ServiceHostBase) | |
DefaultOpenTimeout | (Inherited from ServiceHostBase) | |
ImplementedContracts | (Inherited from ServiceHostBase) | |
IsDisposed | (Inherited from CommunicationObject) | |
ThisLock | (Inherited from CommunicationObject) |
Public Methods (see also Protected Methods)
Name | Description | |
---|---|---|
Abort | (Inherited from CommunicationObject) | |
AddServiceEndpoint | Overloaded. (Inherited from ServiceHost) | |
BeginClose | Overloaded. (Inherited from CommunicationObject) | |
BeginOpen | Overloaded. (Inherited from CommunicationObject) | |
Close | Overloaded. (Inherited from CommunicationObject) | |
EndClose | (Inherited from CommunicationObject) | |
EndOpen | (Inherited from CommunicationObject) | |
Equals | Overloaded. (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
IncrementManualFlowControlLimit | (Inherited from ServiceHostBase) | |
Open | Overloaded. (Inherited from CommunicationObject) | |
ReferenceEquals | (Inherited from Object) | |
ToString | (Inherited from Object) |
Protected Methods
Name | Description | |
---|---|---|
AddBaseAddress | (Inherited from ServiceHostBase) | |
ApplyConfiguration | Overridden. Override of base class method. Loads WIF configuration and overrides WCF configuration settings with WIF settings. | |
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. | |
CreateDescription | (Inherited from ServiceHost) | |
Fault | (Inherited from CommunicationObject) | |
Finalize | (Inherited from Object) | |
GetCommunicationObjectType | (Inherited from CommunicationObject) | |
InitializeDescription | Overloaded. (Inherited from ServiceHost) | |
InitializeRuntime | Overridden. 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. | |
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. | |
LoadConfigurationSection | (Inherited from ServiceHostBase) | |
MemberwiseClone | (Inherited from Object) | |
OnAbort | (Inherited from ServiceHostBase) | |
OnBeginClose | (Inherited from ServiceHostBase) | |
OnBeginOpen | (Inherited from ServiceHostBase) | |
OnClose | (Inherited from ServiceHostBase) | |
OnClosed | (Inherited from ServiceHost) | |
OnClosing | (Inherited from CommunicationObject) | |
OnEndClose | (Inherited from ServiceHostBase) | |
OnEndOpen | (Inherited from ServiceHostBase) | |
OnFaulted | (Inherited from CommunicationObject) | |
OnOpen | (Inherited from ServiceHostBase) | |
OnOpened | (Inherited from ServiceHostBase) | |
OnOpening | (Inherited from CommunicationObject) | |
ReleasePerformanceCounters | (Inherited from ServiceHostBase) | |
ThrowIfDisposed | (Inherited from CommunicationObject) | |
ThrowIfDisposedOrImmutable | (Inherited from CommunicationObject) | |
ThrowIfDisposedOrNotOpen | (Inherited from CommunicationObject) |
Public Events
Name | Description | |
---|---|---|
Closed | (Inherited from CommunicationObject) | |
Closing | (Inherited from CommunicationObject) | |
Faulted | (Inherited from CommunicationObject) | |
Opened | (Inherited from CommunicationObject) | |
Opening | (Inherited from CommunicationObject) | |
UnknownMessageReceived | (Inherited from ServiceHostBase) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
System.IDisposable.Dispose | (Inherited from ServiceHostBase) |
See Also
Copyright © 2008 by Microsoft Corporation. All rights reserved.