Constructor UnsupportedMediaTypeApiException
UnsupportedMediaTypeApiException(string)
Initializes a new instance of the UnsupportedMediaTypeApiException class with a specified error message.
Declaration
public UnsupportedMediaTypeApiException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
UnsupportedMediaTypeApiException(string, Exception?)
Initializes a new instance of the UnsupportedMediaTypeApiException class with a specified error message and an inner exception.
Declaration
public UnsupportedMediaTypeApiException(string message, Exception? innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | |
| Exception | innerException |