Freigeben über


HttpGetAttribute Konstruktoren

Definition

Überlädt

HttpGetAttribute()

Erstellt einen neuen HttpGetAttribute.

HttpGetAttribute(String)

Erstellt eine neue HttpGetAttribute mit der angegebenen Routenvorlage.

HttpGetAttribute()

Quelle:
HttpGetAttribute.cs
Quelle:
HttpGetAttribute.cs
Quelle:
HttpGetAttribute.cs

Erstellt einen neuen HttpGetAttribute.

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

Gilt für:

HttpGetAttribute(String)

Quelle:
HttpGetAttribute.cs
Quelle:
HttpGetAttribute.cs
Quelle:
HttpGetAttribute.cs

Erstellt eine neue HttpGetAttribute mit der angegebenen Routenvorlage.

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

Parameter

template
String

Die Routenvorlage. Darf nicht NULL sein.

Gilt für: