AcceptVerbsAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AcceptVerbsAttribute(String) |
Initializes a new instance of the AcceptVerbsAttribute class. |
AcceptVerbsAttribute(String[]) |
Initializes a new instance of the AcceptVerbsAttribute class. |
AcceptVerbsAttribute(String)
- Source:
- AcceptVerbsAttribute.cs
- Source:
- AcceptVerbsAttribute.cs
- Source:
- AcceptVerbsAttribute.cs
Initializes a new instance of the AcceptVerbsAttribute class.
public:
AcceptVerbsAttribute(System::String ^ method);
public AcceptVerbsAttribute (string method);
new Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute : string -> Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute
Public Sub New (method As String)
Parameters
- method
- String
The HTTP method the action supports.
Applies to
AcceptVerbsAttribute(String[])
- Source:
- AcceptVerbsAttribute.cs
- Source:
- AcceptVerbsAttribute.cs
- Source:
- AcceptVerbsAttribute.cs
Initializes a new instance of the AcceptVerbsAttribute class.
public:
AcceptVerbsAttribute(... cli::array <System::String ^> ^ methods);
public AcceptVerbsAttribute (params string[] methods);
new Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute : string[] -> Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute
Public Sub New (ParamArray methods As String())
Parameters
- methods
- String[]
The HTTP methods the action supports.