Aracılığıyla paylaş


AntiforgeryOptions.CookiePath Özellik

Tanım

Dikkat

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

Bu özellik kullanımdan kaldırıldı ve gelecekteki bir sürümde kaldırılacak. Önerilen alternatif üzerindedir Cookie.

Tanımlama bilgisinde ayarlanan yol. olarak ayarlanırsa null, tanımlama bilgisinde "path" özniteliği geçerli isteğin PathBase değerine ayarlanır. değeri PathBase veya boşsa null , "path" özniteliği değerine Pathayarlanır.

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)

Özellik Değeri

Öznitelikler

Şunlara uygulanır