CookieHandlerElement.Mode Property

.NET Framework (current version)

Gets or sets the cookie handler mode.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

[ConfigurationPropertyAttribute("mode", IsRequired = false, DefaultValue = CookieHandlerMode.Default)]
public CookieHandlerMode Mode { get; set; }

Property Value

Type: System.IdentityModel.Services.CookieHandlerMode

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.

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.

.NET Framework
Available since 4.5
Return to top