Partilhar via


BadHttpRequestException.Throw(RequestRejectionReason, HttpMethod) Método

Definição

public:
 static void Throw(Microsoft::AspNetCore::Server::Kestrel::Core::Internal::Http::RequestRejectionReason reason, Microsoft::AspNetCore::Server::Kestrel::Core::Internal::Http::HttpMethod method);
public static void Throw (Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason reason, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpMethod method);
static member Throw : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason * Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpMethod -> unit
Public Shared Sub Throw (reason As RequestRejectionReason, method As HttpMethod)

Parâmetros

reason
Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason
method
Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpMethod

Aplica-se a