NSUrlSession.CreateDataTaskAsync 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
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>
Parameters
- url
- NSUrl
- result
- NSUrlSessionDataTask
Returns
Applies to
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>
Parameters
- request
- NSUrlRequest
- result
- NSUrlSessionDataTask
Returns
Applies to
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>
Parameters
- url
- NSUrl
Returns
A task that represents the asynchronous CreateDataTask operation. The value of the TResult parameter is of type Action<Foundation.NSUrlSessionDataTaskRequest>
.
Applies to
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>
Parameters
- request
- NSUrlRequest
Returns
A task that represents the asynchronous CreateDataTask operation. The value of the TResult parameter is of type Action<Foundation.NSUrlSessionDataTaskRequest>
.