CookieHandlerElement.Mode Property
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 the cookie handler mode.
public:
property System::IdentityModel::Services::CookieHandlerMode Mode { System::IdentityModel::Services::CookieHandlerMode get(); void set(System::IdentityModel::Services::CookieHandlerMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.IdentityModel.Services.CookieHandlerMode.Default, IsRequired=false)]
public System.IdentityModel.Services.CookieHandlerMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=System.IdentityModel.Services.CookieHandlerMode.Default, IsRequired=false)>]
member this.Mode : System.IdentityModel.Services.CookieHandlerMode with get, set
Public Property Mode As 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.
- Attributes
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: