CookieHandlerElement.Mode CookieHandlerElement.Mode CookieHandlerElement.Mode CookieHandlerElement.Mode Property

Definición

Obtiene o establece el modo de controlador de cookies.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=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

Valor de propiedad

Un valor válido de CookieHandlerMode que indica la clase de controlador de cookie se se va a configurar.A valid CookieHandlerMode value that indicates the kind of cookie handler that is being configured. El valor predeterminado es Default, que indica un controlador de cookies fragmentado.The default value is Default, which indicates a chunked cookie handler.

Comentarios

En el caso de los controladores de cookies fragmentados (se establece la ChunkedCookieHandler propiedad), el modo se debe establecer Chunked en o Default.For chunked cookie handlers (the ChunkedCookieHandler property is set), the mode should be set to either Chunked or Default. Para un controlador de cookies personalizado CustomCookieHandler (se establece la propiedad), el modo debe establecerse en. CustomFor a custom cookie handler (the CustomCookieHandler property is set), the mode should be set to Custom.

Representa el mode atributo <del elemento cookieHandler> .Represents the mode attribute of the <cookieHandler> element.

Se aplica a

Consulte también: