Share via


UnsupportedContentTypeException(String) Constructor

Definition

Creates a new instance of UnsupportedContentTypeException with the specified exception message.

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)

Parameters

message
String

The message that describes the error.

Applies to