AntiforgeryOptions.CookieDomain 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.
此属性已过时,将在将来的版本中删除。 建议的替代项是在 上 Cookie。
在 Cookie 上设置的域。 默认情况下,它 null
会导致未设置“域”属性。
public:
property System::String ^ CookieDomain { System::String ^ get(); void set(System::String ^ value); };
public string CookieDomain { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")]
public string CookieDomain { get; set; }
member this.CookieDomain : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")>]
member this.CookieDomain : string with get, set
Public Property CookieDomain As String
属性值
- 属性