Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim serviceHost As ServiceHostBase
Dim serviceName As String

FederatedServiceCredentials.ConfigureServiceHost(serviceHost, serviceName)

Syntax

Visual Basic
Public Shared Sub ConfigureServiceHost ( _
		serviceHost As ServiceHostBase, _
		serviceName As String _
)
C#
public static void ConfigureServiceHost (
		ServiceHostBase serviceHost,
		string serviceName
)
C++
public:
static void ConfigureServiceHost (
		ServiceHostBase^ serviceHost, 
		String^ serviceName
)
J#
public static void ConfigureServiceHost (
		ServiceHostBase serviceHost, 
		String serviceName
)
JScript
public static function ConfigureServiceHost (
		serviceHost : ServiceHostBase, 
		serviceName : String
)

Parameters

serviceHost
serviceName

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also