CookieHandlerElement.Mode Property


Gets or sets the cookie handler mode.

 property System::IdentityModel::Services::CookieHandlerMode Mode { System::IdentityModel::Services::CookieHandlerMode get(); void set(System::IdentityModel::Services::CookieHandlerMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=Mono.Cecil.CustomAttributeArgument, IsRequired=false)]
public System.IdentityModel.Services.CookieHandlerMode Mode { get; set; }
member this.Mode : System.IdentityModel.Services.CookieHandlerMode with get, set
Public Property Mode As CookieHandlerMode

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.



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

See also