Foundation.NSUrlConnection.SendRequestAsync Method
Loads the data and invokes a method upon completion.

Syntax

public static System.Threading.Tasks.Task<NSUrlAsyncResult> SendRequestAsync (NSUrlRequest request, NSOperationQueue queue)

Parameters

request
Request to perform
queue
Operation queue to dispatch the completion to.

Returns

A task that represents the asynchronous SendAsynchronousRequest operation. The value of the TResult parameter is of type Foundation.NSUrlAsyncResult. BLA BLA BLA BLA.

Remarks

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

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0