Udostępnij za pośrednictwem


AntiforgeryOptions.CookieDomain Właściwość

Definicja

Przestroga

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

Ta właściwość jest przestarzała i zostanie usunięta w przyszłej wersji. Zalecaną alternatywą jest wartość .Cookie

Domena ustawiona na pliku cookie. Domyślnie powoduje to null , że atrybut "domena" nie jest ustawiany.

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

Wartość właściwości

Atrybuty

Dotyczy