共用方式為


CookiePolicyOptions.OnDeleteCookie 屬性

定義

刪除 Cookie 時呼叫。

public:
 property Action<Microsoft::AspNetCore::CookiePolicy::DeleteCookieContext ^> ^ OnDeleteCookie { Action<Microsoft::AspNetCore::CookiePolicy::DeleteCookieContext ^> ^ get(); void set(Action<Microsoft::AspNetCore::CookiePolicy::DeleteCookieContext ^> ^ value); };
public Action<Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext> OnDeleteCookie { get; set; }
public Action<Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext>? OnDeleteCookie { get; set; }
member this.OnDeleteCookie : Action<Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext> with get, set
Public Property OnDeleteCookie As Action(Of DeleteCookieContext)

屬性值

適用於