Table of Contents

MethodNotAllowedException Constructor

Definition

Namespace
Cuemon.AspNetCore.Http
Assemblies
Cuemon.AspNetCore.dll
Source
src/Cuemon.AspNetCore/Http/MethodNotAllowedException.cs

MethodNotAllowedException()

Initializes a new instance of the MethodNotAllowedException class.

public MethodNotAllowedException()

MethodNotAllowedException(Exception)

Initializes a new instance of the MethodNotAllowedException class.

public MethodNotAllowedException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

MethodNotAllowedException(string, Exception)

Initializes a new instance of the MethodNotAllowedException class.

public MethodNotAllowedException(string message, Exception innerException = null)

Parameters

message string

The message that describes the HTTP status code.

innerException Exception

The exception that is the cause of the current exception.