NSUrlSession.CreateUploadTask 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
CreateUploadTask(NSUrlRequest, NSUrl, NSUrlSessionResponse)
[Foundation.Export("uploadTaskWithRequest:fromFile:completionHandler:")]
public virtual Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSUrl fileURL, Foundation.NSUrlSessionResponse completionHandler);
abstract member CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSUrl * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionUploadTask
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSUrl * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionUploadTask
Parameters
- request
- NSUrlRequest
- fileURL
- NSUrl
- completionHandler
- NSUrlSessionResponse
Returns
- Attributes
Applies to
CreateUploadTask(NSUrlRequest, NSData, NSUrlSessionResponse)
[Foundation.Export("uploadTaskWithRequest:fromData:completionHandler:")]
public virtual Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSData bodyData, Foundation.NSUrlSessionResponse completionHandler);
abstract member CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSData * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionUploadTask
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSData * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionUploadTask
Parameters
- request
- NSUrlRequest
- bodyData
- NSData
- completionHandler
- NSUrlSessionResponse
Returns
- Attributes
Applies to
CreateUploadTask(NSUrlRequest, NSData)
[Foundation.Export("uploadTaskWithRequest:fromData:")]
public virtual Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSData bodyData);
abstract member CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSData -> Foundation.NSUrlSessionUploadTask
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSData -> Foundation.NSUrlSessionUploadTask
Parameters
- request
- NSUrlRequest
- bodyData
- NSData
Returns
- Attributes
Applies to
CreateUploadTask(NSUrlRequest)
Creates an upload task.
[Foundation.Export("uploadTaskWithStreamedRequest:")]
public virtual Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request);
abstract member CreateUploadTask : Foundation.NSUrlRequest -> Foundation.NSUrlSessionUploadTask
override this.CreateUploadTask : Foundation.NSUrlRequest -> Foundation.NSUrlSessionUploadTask
Parameters
- request
- NSUrlRequest
Returns
- Attributes
Applies to
CreateUploadTask(NSUrlRequest, NSUrl)
[Foundation.Export("uploadTaskWithRequest:fromFile:")]
public virtual Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSUrl fileURL);
abstract member CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSUrl -> Foundation.NSUrlSessionUploadTask
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSUrl -> Foundation.NSUrlSessionUploadTask
Parameters
- request
- NSUrlRequest
- fileURL
- NSUrl
Returns
- Attributes