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

描述错误的消息。

适用于