Compartilhar via


AntiforgeryOptions.CookiePath Propriedade

Definição

Cuidado

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

Essa propriedade está obsoleta e será removida em uma versão futura. A alternativa recomendada é em Cookie.

O caminho definido no cookie. Se definido como null, o atributo "path" no cookie será definido como o valor da PathBase solicitação atual. Se o valor de PathBase for null ou estiver vazio, o atributo "path" será definido como o valor de 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)

Valor da propriedade

Atributos

Aplica-se a