Пространство имен: Microsoft.IdentityModel.Tokens
Сборка: Microsoft.IdentityModel (в
microsoft.identitymodel.dll)
Использование
Visual Basic |
Dim claimsPrincipal As IClaimsPrincipal
Dim context As String
Dim validFrom As DateTime
Dim validTo As DateTime
Dim instance As New SessionSecurityToken(claimsPrincipal, context, validFrom, validTo)
|
Синтаксис
Visual Basic |
Public Sub New ( _
claimsPrincipal As IClaimsPrincipal, _
context As String, _
validFrom As DateTime, _
validTo As DateTime _
)
|
C# |
public SessionSecurityToken (
IClaimsPrincipal claimsPrincipal,
string context,
DateTime validFrom,
DateTime validTo
)
|
C++ |
public:
SessionSecurityToken (
IClaimsPrincipal^ claimsPrincipal,
String^ context,
DateTime validFrom,
DateTime validTo
)
|
J# |
public SessionSecurityToken (
IClaimsPrincipal claimsPrincipal,
String context,
DateTime validFrom,
DateTime validTo
)
|
JScript |
public function SessionSecurityToken (
claimsPrincipal : IClaimsPrincipal,
context : String,
validFrom : DateTime,
validTo : DateTime
)
|
Параметры
- claimsPrincipal
- context
- validFrom
- validTo
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также