AntiforgeryOptions.CookiePath Proprietà

Definizione

Attenzione

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

Questa proprietà è obsoleta e verrà rimossa in una versione futura. L'alternativa consigliata è in Cookie.

Percorso impostato sul cookie. Se impostato su null, l'attributo "path" nel cookie è impostato sul valore della PathBase richiesta corrente. Se il valore di PathBase è null o vuoto, l'attributo "path" è impostato sul valore di Path.

public:
 property Nullable<Microsoft::AspNetCore::Http::PathString> CookiePath { Nullable<Microsoft::AspNetCore::Http::PathString> get(); void set(Nullable<Microsoft::AspNetCore::Http::PathString> value); };
public Microsoft.AspNetCore.Http.PathString? CookiePath { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")]
public Microsoft.AspNetCore.Http.PathString? CookiePath { get; set; }
member this.CookiePath : Nullable<Microsoft.AspNetCore.Http.PathString> with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")>]
member this.CookiePath : Nullable<Microsoft.AspNetCore.Http.PathString> with get, set
Public Property CookiePath As Nullable(Of PathString)

Valore della proprietà

Attributi

Si applica a