WSTrustServiceHost Constructor (SecurityTokenServiceConfiguration, Uri)
Initializes a new instance of the WSTrustServiceHost class with the specified base addresses and service (STS) configuration settings.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public WSTrustServiceHost( SecurityTokenServiceConfiguration securityTokenServiceConfiguration, params Uri baseAddresses )
A SecurityTokenServiceConfiguration that contains the STS settings to use to initialize the service host.
The SecurityTokenServiceConfiguration instance is used for one-time initialization of the ServiceHost; for this reason, setting properties on the configuration instance after the host is initialized may not result in behavior changes.
Available since 4.5