mscorlib(4.0.0.0) API with additions
IdentityNotMappedException.cs
3 
5 {
8  [ComVisible(false)]
10  {
11  private IdentityReferenceCollection unmappedIdentities;
12 
16  {
17  get
18  {
19  if (unmappedIdentities == null)
20  {
21  unmappedIdentities = new IdentityReferenceCollection();
22  }
23  return unmappedIdentities;
24  }
25  }
26 
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 
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 }
Serves as the base class for system exceptions namespace.
Represents an exception for a principal whose identity could not be mapped to a known identity.
Definition: __Canon.cs:3
IdentityNotMappedException(string message)
Initializes a new instance of the T:System.Security.Principal.IdentityNotMappedException class by usi...
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about, and means to manipulate, the current environment and platform....
Definition: Environment.cs:21
IdentityNotMappedException(string message, Exception inner)
Initializes a new instance of the T:System.Security.Principal.IdentityNotMappedException class by usi...
override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
Gets serialization information with the data needed to create an instance of this T:System....
Represents a collection of T:System.Security.Principal.IdentityReference objects and provides a means...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition: Exception.cs:22
IdentityNotMappedException()
Initializes a new instance of the T:System.Security.Principal.IdentityNotMappedException class.
Specifies that the class can be serialized.
IdentityReferenceCollection UnmappedIdentities
Represents the collection of unmapped identities for an T:System.Security.Principal....