NSHttpCookieStorage.GetCookiesForTaskAsync(NSUrlSessionTask) Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSHttpCookie[]> GetCookiesForTaskAsync (Foundation.NSUrlSessionTask task);
abstract member GetCookiesForTaskAsync : Foundation.NSUrlSessionTask -> System.Threading.Tasks.Task<Foundation.NSHttpCookie[]>
override this.GetCookiesForTaskAsync : Foundation.NSUrlSessionTask -> System.Threading.Tasks.Task<Foundation.NSHttpCookie[]>

Parameters

Returns

A task that represents the asynchronous GetCookiesForTask operation. The value of the TResult parameter is of type System.Action<Foundation.NSHttpCookie[]>.

Attributes

Remarks

The GetCookiesForTaskAsync 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