Compartir a través de


AntiforgeryOptions.CookieDomain Propiedad

Definición

Precaución

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.

Esta propiedad está obsoleta y se quitará en una versión futura. La alternativa recomendada es en Cookie.

El dominio establecido en la cookie. De forma predeterminada, su null que da como resultado que no se establezca el atributo "domain".

public:
 property System::String ^ CookieDomain { System::String ^ get(); void set(System::String ^ value); };
public string CookieDomain { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")]
public string CookieDomain { get; set; }
member this.CookieDomain : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")>]
member this.CookieDomain : string with get, set
Public Property CookieDomain As String

Valor de propiedad

Atributos

Se aplica a