संपादित करें

इसके माध्यम से साझा किया गया


CookieHandlerElement.Mode Property

Definition

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

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

See also