AuthenticationTagMismatchException 建構函式

定義

多載

AuthenticationTagMismatchException()

使用預設屬性,初始化 AuthenticationTagMismatchException 類別的新執行個體。

AuthenticationTagMismatchException(String)

使用指定的錯誤訊息,初始化 AuthenticationTagMismatchException 類別的新執行個體。

AuthenticationTagMismatchException(String, Exception)

使用指定的錯誤訊息以及造成此例外狀況的內部例外狀況的參考,初始化 AuthenticationTagMismatchException 類別的新執行個體。

AuthenticationTagMismatchException()

來源:
AuthenticationTagMismatchException.cs
來源:
AuthenticationTagMismatchException.cs

使用預設屬性,初始化 AuthenticationTagMismatchException 類別的新執行個體。

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

適用於

AuthenticationTagMismatchException(String)

來源:
AuthenticationTagMismatchException.cs
來源:
AuthenticationTagMismatchException.cs

使用指定的錯誤訊息,初始化 AuthenticationTagMismatchException 類別的新執行個體。

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)

參數

message
String

解釋例外狀況原因的錯誤訊息。

適用於

AuthenticationTagMismatchException(String, Exception)

來源:
AuthenticationTagMismatchException.cs
來源:
AuthenticationTagMismatchException.cs

使用指定的錯誤訊息以及造成此例外狀況的內部例外狀況的參考,初始化 AuthenticationTagMismatchException 類別的新執行個體。

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)

參數

message
String

解釋例外狀況原因的錯誤訊息。

inner
Exception

做為目前例外狀況發生原因的例外狀況。 如果 參數不是 null ,則會在處理內部例外狀況的 catch 區塊中引發目前的例外狀況。

適用於