NSUrlSession.CreateDownloadTaskFromResumeDataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateDownloadTaskFromResumeDataAsync(NSData) | |
CreateDownloadTaskFromResumeDataAsync(NSData, NSUrlSessionDownloadTask) |
CreateDownloadTaskFromResumeDataAsync(NSData)
public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionDownloadTaskRequest> CreateDownloadTaskFromResumeDataAsync (Foundation.NSData resumeData);
abstract member CreateDownloadTaskFromResumeDataAsync : Foundation.NSData -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDownloadTaskRequest>
override this.CreateDownloadTaskFromResumeDataAsync : Foundation.NSData -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDownloadTaskRequest>
Parameters
- resumeData
- NSData
Returns
A task that represents the asynchronous CreateDownloadTaskFromResumeData operation. The value of the TResult parameter is of type Action<Foundation.NSUrlSessionDownloadTaskRequest>
.
Remarks
The downloaded content is stored in a temporary file, whose path is stored in the returned NSUrlSessionDownloadTaskRequest instance. Since this is a temporary file, it will be deleted once the NSUrlSessionDownloadTaskRequest instance is garbage collected (or disposed).
Applies to
CreateDownloadTaskFromResumeDataAsync(NSData, NSUrlSessionDownloadTask)
public virtual System.Threading.Tasks.Task<Foundation.NSUrlSessionDownloadTaskRequest> CreateDownloadTaskFromResumeDataAsync (Foundation.NSData resumeData, out Foundation.NSUrlSessionDownloadTask result);
abstract member CreateDownloadTaskFromResumeDataAsync : Foundation.NSData * -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDownloadTaskRequest>
override this.CreateDownloadTaskFromResumeDataAsync : Foundation.NSData * -> System.Threading.Tasks.Task<Foundation.NSUrlSessionDownloadTaskRequest>
Parameters
- resumeData
- NSData
- result
- NSUrlSessionDownloadTask