CookieHandlerElement.Mode Property

Definition

Gets or sets the cookie handler mode.

[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.IdentityModel.Services.CookieHandlerMode.Default, IsRequired=false)]
public System.IdentityModel.Services.CookieHandlerMode Mode { get; set; }

Property Value

A valid CookieHandlerMode value that indicates the kind of cookie handler that is being configured. The default value is Default, which indicates a chunked cookie handler.

Attributes

Remarks

For chunked cookie handlers (the ChunkedCookieHandler property is set), the mode should be set to either Chunked or Default. For a custom cookie handler (the CustomCookieHandler property is set), the mode should be set to Custom.

Represents the mode attribute of the <cookieHandler> element.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also