다음을 통해 공유


NSUrlConnection.SendAsynchronousRequest 메서드

정의

데이터를 로드하고 완료 시 메서드를 호출합니다.

[Foundation.Export("sendAsynchronousRequest:queue:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSUrlSession.CreateDataTask' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSUrlSession.CreateDataTask' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use 'NSUrlSession.CreateDataTask' instead.")]
public static void SendAsynchronousRequest (Foundation.NSUrlRequest request, Foundation.NSOperationQueue queue, Foundation.NSUrlConnectionDataResponse completionHandler);
[Foundation.Export("sendAsynchronousRequest:queue:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SendAsynchronousRequest (Foundation.NSUrlRequest request, Foundation.NSOperationQueue queue, Foundation.NSUrlConnectionDataResponse completionHandler);
static member SendAsynchronousRequest : Foundation.NSUrlRequest * Foundation.NSOperationQueue * Foundation.NSUrlConnectionDataResponse -> unit

매개 변수

request
NSUrlRequest

수행할 요청

queue
NSOperationQueue

완료를 디스패치할 작업 큐입니다.

completionHandler
NSUrlConnectionDataResponse

완료 시 호출되는 메서드

특성

적용 대상