Bearbeiten

Freigeben über


WKHttpCookieStore.DeleteCookieAsync(NSHttpCookie) Method

Definition

Deletes the specified cookie from the store and runs a completion handler when the operation is complete.

public virtual System.Threading.Tasks.Task DeleteCookieAsync (Foundation.NSHttpCookie cookie);
abstract member DeleteCookieAsync : Foundation.NSHttpCookie -> System.Threading.Tasks.Task
override this.DeleteCookieAsync : Foundation.NSHttpCookie -> System.Threading.Tasks.Task

Parameters

cookie
NSHttpCookie

The cookie to remove.

Returns

A task that represents the asynchronous DeleteCookie operation

Remarks

The DeleteCookieAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to