Initializes an instance of ClaimsIdentity
from a serialized stream created with
T:System.Runtime.Serialization.ISerializable.
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 ClaimsIdentity(info, context)
|
Syntax
Visual Basic |
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
|
C# |
protected ClaimsIdentity (
SerializationInfo info,
StreamingContext context
)
|
C++ |
protected:
ClaimsIdentity (
SerializationInfo^ info,
StreamingContext context
)
|
J# |
protected ClaimsIdentity (
SerializationInfo info,
StreamingContext context
)
|
JScript |
protected function ClaimsIdentity (
info : SerializationInfo,
context : StreamingContext
)
|
Parameters
- info
-
The T:System.Runtime.Serialization.SerializationInfo to read
from.
- context
-
The T:System.Runtime.Serialization.StreamingContext for
serialization. Can be null.
Exceptions
Remarks
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also