RequireHttpsAttribute.Permanent 属性

定义

指定是否应使用永久重定向 301 Moved Permanently,而不是临时重定向 302 Found

public:
 property bool Permanent { bool get(); void set(bool value); };
public bool Permanent { get; set; }
member this.Permanent : bool with get, set
Public Property Permanent As Boolean

属性值

适用于