HttpMethodRouteConstraint(String[]) Konstruktor

Definicja

Tworzy nowe wystąpienie HttpMethodRouteConstraint , które akceptuje metody HTTP określone przez 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())

Parametry

allowedMethods
String[]

Dozwolone metody HTTP.

Dotyczy