Пространство имен: Microsoft.IdentityModel.Protocols.WSIdentity
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

Visual Basic
Dim endpointAddress As EndpointAddress
Dim userCredential As IUserCredential

Dim instance As New TokenService(endpointAddress, userCredential)

Синтаксис

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
)

Параметры

endpointAddress
userCredential

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также