Initializes an instance of WSTrustServiceHost.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim securityTokenServiceConfiguration As SecurityTokenServiceConfiguration
Dim baseAddresses As Uri()

Dim instance As New WSTrustServiceHost(securityTokenServiceConfiguration, baseAddresses)

Syntax

Visual Basic
Public Sub New ( _
		securityTokenServiceConfiguration As SecurityTokenServiceConfiguration, _
		ParamArray baseAddresses As Uri() _
)
C#
public WSTrustServiceHost (
		SecurityTokenServiceConfiguration securityTokenServiceConfiguration,
		params Uri[] baseAddresses
)
C++
public:
WSTrustServiceHost (
		SecurityTokenServiceConfiguration^ securityTokenServiceConfiguration, 
		... array<Uri^>^ baseAddresses
)
J#
public WSTrustServiceHost (
		SecurityTokenServiceConfiguration securityTokenServiceConfiguration, 
		Uri[] baseAddresses
)
JScript
public function WSTrustServiceHost (
		securityTokenServiceConfiguration : SecurityTokenServiceConfiguration, 
		... baseAddresses : Uri[]
)

Parameters

securityTokenServiceConfiguration

Security Token Service Configuration settings to use. Refer to SecurityTokenServiceConfiguration class reference for more details.

baseAddresses

BaseAddress collection for the service host.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also