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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.