HttpMethodRouteConstraint(String[]) Costruttore

Definizione

Crea una nuova istanza di HttpMethodRouteConstraint che accetta i metodi HTTP specificati da 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())

Parametri

allowedMethods
String[]

Metodi HTTP consentiti.

Si applica a