Initializes an instance of WSTrustServiceHost.
Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

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

Dim instance As New WSTrustServiceHost(securityTokenServiceConfiguration, baseAddresses)

Синтаксис

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[]
)

Параметры

securityTokenServiceConfiguration

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

baseAddresses

BaseAddress collection for the service host.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также