IdentityNotMappedException Constructors

Definition

Initializes a new instance of the IdentityNotMappedException class.

Overloads

IdentityNotMappedException()

Initializes a new instance of the IdentityNotMappedException class.

IdentityNotMappedException(String)

Initializes a new instance of the IdentityNotMappedException class by using the specified error message.

IdentityNotMappedException(String, Exception)

Initializes a new instance of the IdentityNotMappedException class by using the specified error message and inner exception.

IdentityNotMappedException()

Initializes a new instance of the IdentityNotMappedException class.

C#
public IdentityNotMappedException();

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5

IdentityNotMappedException(String)

Initializes a new instance of the IdentityNotMappedException class by using the specified error message.

C#
public IdentityNotMappedException(string? message);
C#
public IdentityNotMappedException(string message);

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5

IdentityNotMappedException(String, Exception)

Initializes a new instance of the IdentityNotMappedException class by using the specified error message and inner exception.

C#
public IdentityNotMappedException(string? message, Exception? inner);
C#
public IdentityNotMappedException(string message, Exception inner);

Parameters

message
String

The error message that explains the reason for the exception.

inner
Exception

The exception that is the cause of the current exception. If inner is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5