Initializes a new instance of the System.Security.Principal.WindowsClaimsIdentity class for the user represented by information in a T:System.Runtime.Serialization.SerializationInfo stream.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

Visual Basic
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New WindowsClaimsIdentity(info, context)

Синтаксис

Visual Basic
Protected Sub New ( _
		info As SerializationInfo, _
		context As StreamingContext _
)
C#
protected WindowsClaimsIdentity (
		SerializationInfo info,
		StreamingContext context
)
C++
protected:
WindowsClaimsIdentity (
		SerializationInfo^ info, 
		StreamingContext context
)
J#
protected WindowsClaimsIdentity (
		SerializationInfo info, 
		StreamingContext context
)
JScript
protected function WindowsClaimsIdentity (
		info : SerializationInfo, 
		context : StreamingContext
)

Параметры

info

The T:System.Runtime.Serialization.SerializationInfo containing the account information for the user.

context

The T:System.Runtime.Serialization.StreamingContext that indicates the stream characteristics.

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также