TwitterOptions.StateCookie 属性

定义

确定用于在将 Cookie 添加到响应之前创建状态 Cookie 的设置。

public:
 property Microsoft::AspNetCore::Http::CookieBuilder ^ StateCookie { Microsoft::AspNetCore::Http::CookieBuilder ^ get(); void set(Microsoft::AspNetCore::Http::CookieBuilder ^ value); };
public Microsoft.AspNetCore.Http.CookieBuilder StateCookie { get; set; }
member this.StateCookie : Microsoft.AspNetCore.Http.CookieBuilder with get, set
Public Property StateCookie As CookieBuilder

属性值

注解

如果未提供显式 Name ,系统将自动生成以 开头 __TwitterState的唯一名称。

适用于