Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Mode Property

CookieHandlerElement.Mode Property

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5
© 2015 Microsoft