66 lines
3.2 KiB
C#
66 lines
3.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System.Security.Principal
|
|
{
|
|
/// <summary>Represents an exception for a principal whose identity could not be mapped to a known identity.</summary>
|
|
// Token: 0x020005AD RID: 1453
|
|
[ComVisible(false)]
|
|
[Serializable]
|
|
public sealed class IdentityNotMappedException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class.</summary>
|
|
// Token: 0x06003522 RID: 13602 RVA: 0x000B6EF4 File Offset: 0x000B50F4
|
|
public IdentityNotMappedException()
|
|
: base(Locale.GetText("Couldn't translate some identities."))
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class by using the specified error message.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
// Token: 0x06003523 RID: 13603 RVA: 0x000B6F08 File Offset: 0x000B5108
|
|
public IdentityNotMappedException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.IdentityNotMappedException" /> class by using the specified error message and inner exception.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
/// <param name="inner">The exception that is the cause of the current exception. If <paramref name="inner" /> is not null, the current exception is raised in a catch block that handles the inner exception.</param>
|
|
// Token: 0x06003524 RID: 13604 RVA: 0x000B6F14 File Offset: 0x000B5114
|
|
public IdentityNotMappedException(string message, Exception inner)
|
|
: base(message, inner)
|
|
{
|
|
}
|
|
|
|
/// <summary>Represents the collection of unmapped identities for an <see cref="T:System.Security.Principal.IdentityNotMappedException" /> exception.</summary>
|
|
/// <returns>The collection of unmapped identities.</returns>
|
|
// Token: 0x17000A6E RID: 2670
|
|
// (get) Token: 0x06003525 RID: 13605 RVA: 0x000B6F20 File Offset: 0x000B5120
|
|
public IdentityReferenceCollection UnmappedIdentities
|
|
{
|
|
get
|
|
{
|
|
if (this._coll == null)
|
|
{
|
|
this._coll = new IdentityReferenceCollection();
|
|
}
|
|
return this._coll;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets serialization information with the data needed to create an instance of this <see cref="T:System.Security.Principal.IdentityNotMappedException" /> object. </summary>
|
|
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization." /><see cref="SerializationInfo object" /> that holds the serialized object data about the exception being thrown.</param>
|
|
/// <param name="streamingContext">The <see cref="T:System.Runtime.SerializationInfo." /><see cref="StreamingContext" /> object that contains contextual information about the source or destination.</param>
|
|
// Token: 0x06003526 RID: 13606 RVA: 0x000B6F40 File Offset: 0x000B5140
|
|
[MonoTODO("not implemented")]
|
|
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001592 RID: 5522
|
|
private IdentityReferenceCollection _coll;
|
|
}
|
|
}
|