NSUrlSession.CreateDownloadTask Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
CreateDownloadTask(NSData) |
Crea una tarea de descarga para una descarga cancelada o errónea previamente. |
CreateDownloadTask(NSUrl) | |
CreateDownloadTask(NSUrlRequest) | |
CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse) | |
CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse) |
CreateDownloadTask(NSData)
Crea una tarea de descarga para una descarga cancelada o errónea previamente.
[Foundation.Export("downloadTaskWithResumeData:")]
public virtual Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSData resumeData);
abstract member CreateDownloadTask : Foundation.NSData -> Foundation.NSUrlSessionDownloadTask
override this.CreateDownloadTask : Foundation.NSData -> Foundation.NSUrlSessionDownloadTask
Parámetros
- resumeData
- NSData
Devoluciones
- Atributos
Se aplica a
CreateDownloadTask(NSUrl)
[Foundation.Export("downloadTaskWithURL:")]
public virtual Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrl url);
abstract member CreateDownloadTask : Foundation.NSUrl -> Foundation.NSUrlSessionDownloadTask
override this.CreateDownloadTask : Foundation.NSUrl -> Foundation.NSUrlSessionDownloadTask
Parámetros
- url
- NSUrl
Devoluciones
- Atributos
Se aplica a
CreateDownloadTask(NSUrlRequest)
[Foundation.Export("downloadTaskWithRequest:")]
public virtual Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrlRequest request);
abstract member CreateDownloadTask : Foundation.NSUrlRequest -> Foundation.NSUrlSessionDownloadTask
override this.CreateDownloadTask : Foundation.NSUrlRequest -> Foundation.NSUrlSessionDownloadTask
Parámetros
- request
- NSUrlRequest
Devoluciones
- Atributos
Se aplica a
CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse)
[Foundation.Export("downloadTaskWithURL:completionHandler:")]
public virtual Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrl url, Foundation.NSUrlDownloadSessionResponse completionHandler);
abstract member CreateDownloadTask : Foundation.NSUrl * Foundation.NSUrlDownloadSessionResponse -> Foundation.NSUrlSessionDownloadTask
override this.CreateDownloadTask : Foundation.NSUrl * Foundation.NSUrlDownloadSessionResponse -> Foundation.NSUrlSessionDownloadTask
Parámetros
- url
- NSUrl
Devoluciones
- Atributos
Se aplica a
CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse)
[Foundation.Export("downloadTaskWithRequest:completionHandler:")]
public virtual Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrlRequest request, Foundation.NSUrlDownloadSessionResponse completionHandler);
abstract member CreateDownloadTask : Foundation.NSUrlRequest * Foundation.NSUrlDownloadSessionResponse -> Foundation.NSUrlSessionDownloadTask
override this.CreateDownloadTask : Foundation.NSUrlRequest * Foundation.NSUrlDownloadSessionResponse -> Foundation.NSUrlSessionDownloadTask
Parámetros
- request
- NSUrlRequest
Devoluciones
- Atributos