Udostępnij za pośrednictwem


CookieExpiration Constructors

Definition

Overloads

CookieExpiration()

Initializes a new instance of the CookieExpiration class.

CookieExpiration(Nullable<CookieExpirationConvention>, String)

Initializes a new instance of the CookieExpiration class.

CookieExpiration()

Initializes a new instance of the CookieExpiration class.

public CookieExpiration ();
Public Sub New ()

Applies to

CookieExpiration(Nullable<CookieExpirationConvention>, String)

Initializes a new instance of the CookieExpiration class.

public CookieExpiration (Microsoft.Azure.Management.WebSites.Models.CookieExpirationConvention? convention = default, string timeToExpiration = default);
new Microsoft.Azure.Management.WebSites.Models.CookieExpiration : Nullable<Microsoft.Azure.Management.WebSites.Models.CookieExpirationConvention> * string -> Microsoft.Azure.Management.WebSites.Models.CookieExpiration
Public Sub New (Optional convention As Nullable(Of CookieExpirationConvention) = Nothing, Optional timeToExpiration As String = Nothing)

Parameters

convention
Nullable<CookieExpirationConvention>

The convention used when determining the session cookie's expiration. Possible values include: 'FixedTime', 'IdentityProviderDerived'

timeToExpiration
String

The time after the request is made when the session cookie should expire.

Applies to