FormsAuthenticationConfiguration.TicketCompatibilityMode 属性

定义

获取或设置一个值,该值指示对于票证到期日期使用协调世界时 (UTC) 还是本地时间。

public:
 property System::Web::Configuration::TicketCompatibilityMode TicketCompatibilityMode { System::Web::Configuration::TicketCompatibilityMode get(); void set(System::Web::Configuration::TicketCompatibilityMode value); };
[System.Configuration.ConfigurationProperty("ticketCompatibilityMode", DefaultValue=System.Web.Configuration.TicketCompatibilityMode.Framework20)]
public System.Web.Configuration.TicketCompatibilityMode TicketCompatibilityMode { get; set; }
[<System.Configuration.ConfigurationProperty("ticketCompatibilityMode", DefaultValue=System.Web.Configuration.TicketCompatibilityMode.Framework20)>]
member this.TicketCompatibilityMode : System.Web.Configuration.TicketCompatibilityMode with get, set
Public Property TicketCompatibilityMode As TicketCompatibilityMode

属性值

TicketCompatibilityMode

票证到期日期兼容模式。

属性

示例

TicketCompatibilityMode

用于身份验证的窗体元素(ASP.NET 设置架构)

注解

默认值为枚举值表示的 Framework20 本地时间。

适用于