mscorlib(4.0.0.0) API with additions
IdentityNotMappedException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System.Security.Principal
5
{
7
[
Serializable
]
8
[ComVisible(
false
)]
9
public
sealed
class
IdentityNotMappedException
:
SystemException
10
{
11
private
IdentityReferenceCollection
unmappedIdentities;
12
15
public
IdentityReferenceCollection
UnmappedIdentities
16
{
17
get
18
{
19
if
(unmappedIdentities ==
null
)
20
{
21
unmappedIdentities =
new
IdentityReferenceCollection
();
22
}
23
return
unmappedIdentities;
24
}
25
}
26
28
public
IdentityNotMappedException
()
29
: base(
Environment
.GetResourceString(
"IdentityReference_IdentityNotMapped"
))
30
{
31
}
32
35
public
IdentityNotMappedException
(
string
message)
36
: base(message)
37
{
38
}
39
43
public
IdentityNotMappedException
(
string
message,
Exception
inner)
44
: base(message, inner)
45
{
46
}
47
48
internal
IdentityNotMappedException
(
string
message,
IdentityReferenceCollection
unmappedIdentities)
49
: this(message)
50
{
51
this.unmappedIdentities = unmappedIdentities;
52
}
53
54
internal
IdentityNotMappedException
(
SerializationInfo
info,
StreamingContext
context)
55
: base(info, context)
56
{
57
}
58
62
[SecurityCritical]
63
public
override
void
GetObjectData
(
SerializationInfo
serializationInfo,
StreamingContext
streamingContext)
64
{
65
base.GetObjectData(serializationInfo, streamingContext);
66
}
67
}
68
}
System.SystemException
Serves as the base class for system exceptions namespace.
Definition:
SystemException.cs:9
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Security.Principal.IdentityNotMappedException
Represents an exception for a principal whose identity could not be mapped to a known identity.
Definition:
IdentityNotMappedException.cs:9
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Security.Principal.IdentityNotMappedException.IdentityNotMappedException
IdentityNotMappedException(string message)
Initializes a new instance of the T:System.Security.Principal.IdentityNotMappedException class by usi...
Definition:
IdentityNotMappedException.cs:35
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Environment
Provides information about, and means to manipulate, the current environment and platform....
Definition:
Environment.cs:21
System.Security.Principal.IdentityNotMappedException.IdentityNotMappedException
IdentityNotMappedException(string message, Exception inner)
Initializes a new instance of the T:System.Security.Principal.IdentityNotMappedException class by usi...
Definition:
IdentityNotMappedException.cs:43
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
System.Security.Principal
Definition:
GenericIdentity.cs:6
System.Security.Principal.IdentityNotMappedException.GetObjectData
override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
Gets serialization information with the data needed to create an instance of this T:System....
Definition:
IdentityNotMappedException.cs:63
System.Security.Principal.IdentityReferenceCollection
Represents a collection of T:System.Security.Principal.IdentityReference objects and provides a means...
Definition:
IdentityReferenceCollection.cs:10
System.Runtime.Serialization.SerializationInfo
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Definition:
SerializationInfo.cs:12
System.Exception
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition:
Exception.cs:22
System.Security.Principal.IdentityNotMappedException.IdentityNotMappedException
IdentityNotMappedException()
Initializes a new instance of the T:System.Security.Principal.IdentityNotMappedException class.
Definition:
IdentityNotMappedException.cs:28
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.Security.Principal.IdentityNotMappedException.UnmappedIdentities
IdentityReferenceCollection UnmappedIdentities
Represents the collection of unmapped identities for an T:System.Security.Principal....
Definition:
IdentityNotMappedException.cs:16
All cs
System.Security.Principal
IdentityNotMappedException.cs
Generated by
1.8.15