Compartir a través de


NSUrlSession.CreateDataTaskAsync Método

Definición

Sobrecargas

CreateDataTaskAsync(NSUrl, NSUrlSessionDataTask)
CreateDataTaskAsync(NSUrlRequest, NSUrlSessionDataTask)
CreateDataTaskAsync(NSUrl)
CreateDataTaskAsync(NSUrlRequest)

CreateDataTaskAsync(NSUrl, NSUrlSessionDataTask)

public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest> CreateDataTaskAsync (Foundation.NSUrl url, out Foundation.NSUrlSessionDataTask result);
abstract member CreateDataTaskAsync : Foundation.NSUrl *  -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>
override this.CreateDataTaskAsync : Foundation.NSUrl *  -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>

Parámetros

url
NSUrl

Devoluciones

Se aplica a

CreateDataTaskAsync(NSUrlRequest, NSUrlSessionDataTask)

public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest> CreateDataTaskAsync (Foundation.NSUrlRequest request, out Foundation.NSUrlSessionDataTask result);
abstract member CreateDataTaskAsync : Foundation.NSUrlRequest *  -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>
override this.CreateDataTaskAsync : Foundation.NSUrlRequest *  -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>

Parámetros

request
NSUrlRequest

Devoluciones

Se aplica a

CreateDataTaskAsync(NSUrl)

public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest> CreateDataTaskAsync (Foundation.NSUrl url);
abstract member CreateDataTaskAsync : Foundation.NSUrl -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>
override this.CreateDataTaskAsync : Foundation.NSUrl -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>

Parámetros

url
NSUrl

Devoluciones

Tarea que representa la operación CreateDataTask asincrónica. El valor del parámetro TResult es de tipo Action<Foundation.NSUrlSessionDataTaskRequest>.

Se aplica a

CreateDataTaskAsync(NSUrlRequest)

public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest> CreateDataTaskAsync (Foundation.NSUrlRequest request);
abstract member CreateDataTaskAsync : Foundation.NSUrlRequest -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>
override this.CreateDataTaskAsync : Foundation.NSUrlRequest -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDataTaskRequest>

Parámetros

request
NSUrlRequest

Devoluciones

Tarea que representa la operación CreateDataTask asincrónica. El valor del parámetro TResult es de tipo Action<Foundation.NSUrlSessionDataTaskRequest>.

Se aplica a