InputFormatterException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
InputFormatterException() |
初始化 InputFormatterException 的新執行個體。 |
InputFormatterException(String) |
使用指定的 InputFormatterException,初始化 |
InputFormatterException(String, Exception) |
使用造成這個例外狀況的指定 |
InputFormatterException()
初始化 InputFormatterException 的新執行個體。
public:
InputFormatterException();
public InputFormatterException ();
Public Sub New ()
適用於
InputFormatterException(String)
使用指定的 InputFormatterException,初始化 message
的新執行個體。
public:
InputFormatterException(System::String ^ message);
public InputFormatterException (string message);
new Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException : string -> Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException
Public Sub New (message As String)
參數
- message
- String
例外狀況訊息。
適用於
InputFormatterException(String, Exception)
使用造成這個例外狀況的指定 message
和內部例外狀況,初始化 的新實例 InputFormatterException 。
public:
InputFormatterException(System::String ^ message, Exception ^ innerException);
public InputFormatterException (string message, Exception innerException);
new Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException : string * Exception -> Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
例外狀況訊息。
- innerException
- Exception
做為目前例外狀況發生原因的例外狀況。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應