HttpOptionsAttribute 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
HttpOptionsAttribute() |
Creates a new HttpOptionsAttribute. |
HttpOptionsAttribute(String) |
Creates a new HttpOptionsAttribute with the given route template. |
HttpOptionsAttribute()
- Source:
- HttpOptionsAttribute.cs
- Source:
- HttpOptionsAttribute.cs
Creates a new HttpOptionsAttribute.
public:
HttpOptionsAttribute();
public HttpOptionsAttribute ();
Public Sub New ()
Applies to
HttpOptionsAttribute(String)
- Source:
- HttpOptionsAttribute.cs
- Source:
- HttpOptionsAttribute.cs
Creates a new HttpOptionsAttribute with the given route template.
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)
Parameters
- template
- String
The route template. May not be null.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for