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

Usage

Visual Basic
Dim endpointAddress As EndpointAddress
Dim userCredential As IUserCredential

Dim instance As New TokenService(endpointAddress, userCredential)

Syntax

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

Parameters

endpointAddress
userCredential

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also