Share via


HttpOptionsAttribute Konstruktory

Definice

Přetížení

HttpOptionsAttribute()

Vytvoří nový objekt HttpOptionsAttribute.

HttpOptionsAttribute(String)

Vytvoří novou HttpOptionsAttribute s danou šablonou trasy.

HttpOptionsAttribute()

Zdroj:
HttpOptionsAttribute.cs
Zdroj:
HttpOptionsAttribute.cs

Vytvoří nový objekt HttpOptionsAttribute.

public:
 HttpOptionsAttribute();
public HttpOptionsAttribute ();
Public Sub New ()

Platí pro

HttpOptionsAttribute(String)

Zdroj:
HttpOptionsAttribute.cs
Zdroj:
HttpOptionsAttribute.cs

Vytvoří novou HttpOptionsAttribute s danou šablonou trasy.

public:
 HttpOptionsAttribute(System::String ^ template);
public HttpOptionsAttribute (string template);
new Microsoft.AspNetCore.Mvc.HttpOptionsAttribute : string -> Microsoft.AspNetCore.Mvc.HttpOptionsAttribute
Public Sub New (template As String)

Parametry

template
String

Šablona trasy. Nesmí mít hodnotu null.

Platí pro