BadHttpRequestException.Throw(RequestRejectionReason, HttpMethod) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)
Paramètres
- reason
- Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason
- method
- Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpMethod