Compartir a través de


HttpMethodRouteConstraint(String[]) Constructor

Definición

Crea una nueva instancia de HttpMethodRouteConstraint que acepta los métodos HTTP especificados por allowedMethods.

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())

Parámetros

allowedMethods
String[]

Métodos HTTP permitidos.

Se aplica a