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

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

Visual Basic
Dim claimsPrincipal As IClaimsPrincipal
Dim context As String
Dim endpointId As String
Dim validFrom As DateTime
Dim validTo As DateTime

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

Синтаксис

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

Параметры

claimsPrincipal
context
endpointId
validFrom
validTo

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также