Share via


NSHttpCookieStorage.GetCookiesForTaskAsync(NSUrlSessionTask) Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Foundation.NSHttpCookie[]> GetCookiesForTaskAsync(Foundation.NSUrlSessionTask task);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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