AuthenticationTagMismatchException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 AuthenticationTagMismatchException 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| AuthenticationTagMismatchException() |
初始化一個帶有預設屬性的新 AuthenticationTagMismatchException 類別實例。 |
| AuthenticationTagMismatchException(String) |
使用指定的錯誤訊息,初始化 AuthenticationTagMismatchException 類別的新實例。 |
| AuthenticationTagMismatchException(String, Exception) |
初始化類別的新實例 AuthenticationTagMismatchException ,並附上指定的錯誤訊息及導致該異常的內部例外的參考。 |
AuthenticationTagMismatchException()
初始化一個帶有預設屬性的新 AuthenticationTagMismatchException 類別實例。
public:
AuthenticationTagMismatchException();
public AuthenticationTagMismatchException();
Public Sub New ()
適用於
AuthenticationTagMismatchException(String)
使用指定的錯誤訊息,初始化 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 ,並附上指定的錯誤訊息及導致該異常的內部例外的參考。
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在,則在處理內部例外的捕捉區塊中提出當前例外。