다음을 통해 공유


BadHttpRequestException.Throw(RequestRejectionReason, HttpMethod) 메서드

정의

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)

매개 변수

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

적용 대상