Dela via


HttpPostAttribute Constructors

Definition

Overloads

HttpPostAttribute()

Creates a new HttpPostAttribute.

HttpPostAttribute(String)

Creates a new HttpPostAttribute with the given route template.

HttpPostAttribute()

Source:
HttpPostAttribute.cs
Source:
HttpPostAttribute.cs
Source:
HttpPostAttribute.cs

Creates a new HttpPostAttribute.

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

Applies to

HttpPostAttribute(String)

Source:
HttpPostAttribute.cs
Source:
HttpPostAttribute.cs
Source:
HttpPostAttribute.cs

Creates a new HttpPostAttribute with the given route template.

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

Parameters

template
String

The route template. May not be null.

Applies to