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

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

Visual Basic
Dim claimsPrincipal As IClaimsPrincipal
Dim contextId As UniqueId
Dim context As String
Dim endpointId As String
Dim validFrom As DateTime
Dim validTo As DateTime
Dim key As SymmetricSecurityKey

Dim instance As New SessionSecurityToken(claimsPrincipal, contextId, context, endpointId, validFrom, validTo, key)

Синтаксис

Visual Basic
Public Sub New ( _
		claimsPrincipal As IClaimsPrincipal, _
		contextId As UniqueId, _
		context As String, _
		endpointId As String, _
		validFrom As DateTime, _
		validTo As DateTime, _
		key As SymmetricSecurityKey _
)
C#
public SessionSecurityToken (
		IClaimsPrincipal claimsPrincipal,
		UniqueId contextId,
		string context,
		string endpointId,
		DateTime validFrom,
		DateTime validTo,
		SymmetricSecurityKey key
)
C++
public:
SessionSecurityToken (
		IClaimsPrincipal^ claimsPrincipal, 
		UniqueId^ contextId, 
		String^ context, 
		String^ endpointId, 
		DateTime validFrom, 
		DateTime validTo, 
		SymmetricSecurityKey^ key
)
J#
public SessionSecurityToken (
		IClaimsPrincipal claimsPrincipal, 
		UniqueId contextId, 
		String context, 
		String endpointId, 
		DateTime validFrom, 
		DateTime validTo, 
		SymmetricSecurityKey key
)
JScript
public function SessionSecurityToken (
		claimsPrincipal : IClaimsPrincipal, 
		contextId : UniqueId, 
		context : String, 
		endpointId : String, 
		validFrom : DateTime, 
		validTo : DateTime, 
		key : SymmetricSecurityKey
)

Параметры

claimsPrincipal
contextId
context
endpointId
validFrom
validTo
key

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также