다음을 통해 공유


HttpMethodRouteConstraint(String[]) 생성자

정의

에서 지정allowedMethods한 HTTP 메서드를 허용하는 의 HttpMethodRouteConstraint 새 instance 만듭니다.

public:
 HttpMethodRouteConstraint(... cli::array <System::String ^> ^ allowedMethods);
public HttpMethodRouteConstraint (params string[] allowedMethods);
new Microsoft.AspNetCore.Routing.Constraints.HttpMethodRouteConstraint : string[] -> Microsoft.AspNetCore.Routing.Constraints.HttpMethodRouteConstraint
Public Sub New (ParamArray allowedMethods As String())

매개 변수

allowedMethods
String[]

허용된 HTTP 메서드입니다.

적용 대상