WKHttpCookieStore.GetAllCookiesAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將所有 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[]>
傳回
Task<NSHttpCookie[]>
表示非同步 GetAllCookies 作業的工作。 TResult 參數的值的類型為 System.Action < Foundation.NSHttpCookie[] > 。