RequireHttpsAttribute 构造函数

定义

重载

RequireHttpsAttribute()

初始化 RequireHttpsAttribute 类的新实例。

RequireHttpsAttribute(Boolean)

RequireHttpsAttribute()

初始化 RequireHttpsAttribute 类的新实例。

public RequireHttpsAttribute ();
Public Sub New ()

适用于

RequireHttpsAttribute(Boolean)

public RequireHttpsAttribute (bool permanent);
new System.Web.Mvc.RequireHttpsAttribute : bool -> System.Web.Mvc.RequireHttpsAttribute
Public Sub New (permanent As Boolean)

参数

permanent
Boolean

适用于