共用方式為


UnsupportedContentTypeException(String) 建構函式

定義

使用指定的例外 message 狀況建立 的新實例 UnsupportedContentTypeException

public:
 UnsupportedContentTypeException(System::String ^ message);
public UnsupportedContentTypeException (string message);
public UnsupportedContentTypeException (string? message);
new Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeException : string -> Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeException
Public Sub New (message As String)

參數

message
String

描述錯誤的訊息。

適用於