HttpOptionsAttribute 构造函数

定义

重载

HttpOptionsAttribute()

创建一个新的 HttpOptionsAttribute

HttpOptionsAttribute(String)

使用给定的路由模板创建新的 HttpOptionsAttribute

HttpOptionsAttribute()

Source:
HttpOptionsAttribute.cs
Source:
HttpOptionsAttribute.cs
Source:
HttpOptionsAttribute.cs

创建一个新的 HttpOptionsAttribute

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

适用于

HttpOptionsAttribute(String)

Source:
HttpOptionsAttribute.cs
Source:
HttpOptionsAttribute.cs
Source:
HttpOptionsAttribute.cs

使用给定的路由模板创建新的 HttpOptionsAttribute

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)

参数

template
String

路由模板。 不能为 null。

适用于