AuthenticationTagMismatchException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Initializes a new instance of the AuthenticationTagMismatchException class with default properties.
public:
AuthenticationTagMismatchException();
public AuthenticationTagMismatchException ();
Public Sub New ()
Applies to
AuthenticationTagMismatchException(String)
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)
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.