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.

public:
 AuthenticationTagMismatchException();
public AuthenticationTagMismatchException ();
Public Sub New ()

Applies to

AuthenticationTagMismatchException(String)

Source:
AuthenticationTagMismatchException.cs
Source:
AuthenticationTagMismatchException.cs

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

public:
 AuthenticationTagMismatchException(System::String ^ message);
public AuthenticationTagMismatchException (string? message);
new System.Security.Cryptography.AuthenticationTagMismatchException : string -> System.Security.Cryptography.AuthenticationTagMismatchException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

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.

public:
 AuthenticationTagMismatchException(System::String ^ message, Exception ^ inner);
public AuthenticationTagMismatchException (string? message, Exception? inner);
new System.Security.Cryptography.AuthenticationTagMismatchException : string * Exception -> System.Security.Cryptography.AuthenticationTagMismatchException
Public Sub New (message As String, inner As Exception)

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