NSUrlSession.CreateDataTaskAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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>
參數
- url
- NSUrl
- result
- NSUrlSessionDataTask
傳回
適用於
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>
參數
- request
- NSUrlRequest
- result
- NSUrlSessionDataTask
傳回
適用於
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>
參數
- url
- NSUrl
傳回
表示非同步 CreateDataTask 作業的工作。 TResult 參數的值的類型 Action<Foundation.NSUrlSessionDataTaskRequest>
為 。
適用於
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>
參數
- request
- NSUrlRequest
傳回
表示非同步 CreateDataTask 作業的工作。 TResult 參數的值的類型 Action<Foundation.NSUrlSessionDataTaskRequest>
為 。