共用方式為


WKHttpCookieStore.GetAllCookiesAsync 方法

定義

將所有 Cookie 傳遞至提供的 completionHandler

public virtual System.Threading.Tasks.Task<Foundation.NSHttpCookie[]> GetAllCookiesAsync ();
abstract member GetAllCookiesAsync : unit -> System.Threading.Tasks.Task<Foundation.NSHttpCookie[]>
override this.GetAllCookiesAsync : unit -> System.Threading.Tasks.Task<Foundation.NSHttpCookie[]>

傳回

表示非同步 GetAllCookies 作業的工作。 TResult 參數的值的類型為 System.Action < Foundation.NSHttpCookie[] > 。

適用於