IdentityNotMappedException
Represents an exception for a principal whose identity could not be mapped to a known identity.
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace System.Security.Principal
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class IdentityNotMappedException : SystemException
{
public IdentityReferenceCollection UnmappedIdentities {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
}
public IdentityNotMappedException()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
[System.Runtime.CompilerServices.NullableContext(2)]
public IdentityNotMappedException(string message)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
[System.Runtime.CompilerServices.NullableContext(2)]
public IdentityNotMappedException(string message, Exception inner)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal);
}
}
}