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.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New WindowsClaimsIdentity(info, context)
|
Syntax
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
)
|
Parameters
- 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.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also