NSUrlSession.CreateDownloadTask Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CreateDownloadTask(NSData) |
Crée une tâche de téléchargement pour un téléchargement précédemment annulé ou ayant échoué. |
CreateDownloadTask(NSUrl) | |
CreateDownloadTask(NSUrlRequest) | |
CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse) | |
CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse) |
CreateDownloadTask(NSData)
Crée une tâche de téléchargement pour un téléchargement précédemment annulé ou ayant échoué.
[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
Paramètres
- resumeData
- NSData
Retours
- Attributs
S’applique à
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
Paramètres
- url
- NSUrl
Retours
- Attributs
S’applique à
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
Paramètres
- request
- NSUrlRequest
Retours
- Attributs
S’applique à
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
Paramètres
- url
- NSUrl
Retours
- Attributs
S’applique à
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
Paramètres
- request
- NSUrlRequest
Retours
- Attributs