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

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

Visual Basic
Dim endpointAddress As EndpointAddress
Dim userCredential As IUserCredential
Dim displayCredentialHint As String

Dim instance As New TokenService(endpointAddress, userCredential, displayCredentialHint)

Синтаксис

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

Параметры

endpointAddress
userCredential
displayCredentialHint

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также