AuthenticationTagMismatchException Constructors

Definition

Overloads

AuthenticationTagMismatchException()

Initializes a new instance of the AuthenticationTagMismatchException class with default properties.

AuthenticationTagMismatchException(String)

Initializes a new instance of the AuthenticationTagMismatchException class with a specified error message.

AuthenticationTagMismatchException(String, Exception)

Initializes a new instance of the AuthenticationTagMismatchException class with a specified error message and a reference to the inner exception that is the cause of this exception.

AuthenticationTagMismatchException()

Source:
AuthenticationTagMismatchException.cs
Source:
AuthenticationTagMismatchException.cs

Initializes a new instance of the AuthenticationTagMismatchException class with default properties.

C#
public AuthenticationTagMismatchException();

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9

AuthenticationTagMismatchException(String)

Source:
AuthenticationTagMismatchException.cs
Source:
AuthenticationTagMismatchException.cs

Initializes a new instance of the AuthenticationTagMismatchException class with a specified error message.

C#
public AuthenticationTagMismatchException(string? message);

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9

AuthenticationTagMismatchException(String, Exception)

Source:
AuthenticationTagMismatchException.cs
Source:
AuthenticationTagMismatchException.cs

Initializes a new instance of the AuthenticationTagMismatchException class with a specified error message and a reference to the inner exception that is the cause of this exception.

C#
public AuthenticationTagMismatchException(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 the parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9