다음을 통해 공유


NSUrlSession.CreateDataTaskAsync 메서드

정의

오버로드

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

반환

적용 대상

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

반환

적용 대상

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>입니다.

적용 대상