FormsAuthenticationConfiguration.TicketCompatibilityMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether to use Coordinated Universal Time (UTC) or local time for the ticket expiration date.
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
Property Value
The ticket expiration-date compatibility mode.
- Attributes
Examples
forms Element for authentication (ASP.NET Settings Schema)
Remarks
The default value is local time as expressed by the Framework20 enumeration value.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.