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

Usage

Visual Basic
Dim endpoint As TokenServiceEndpoint
Dim userCredential As IUserCredential

Dim instance As New TokenService(endpoint, userCredential)

Syntax

Visual Basic
Public Sub New ( _
		endpoint As TokenServiceEndpoint, _
		userCredential As IUserCredential _
)
C#
public TokenService (
		TokenServiceEndpoint endpoint,
		IUserCredential userCredential
)
C++
public:
TokenService (
		TokenServiceEndpoint^ endpoint, 
		IUserCredential^ userCredential
)
J#
public TokenService (
		TokenServiceEndpoint endpoint, 
		IUserCredential userCredential
)
JScript
public function TokenService (
		endpoint : TokenServiceEndpoint, 
		userCredential : IUserCredential
)

Parameters

endpoint
userCredential

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also