共用方式為


NSUrlSessionTaskDelegate.TaskIsWaitingForConnectivity 方法

定義

[Foundation.Export("URLSession:taskIsWaitingForConnectivity:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void TaskIsWaitingForConnectivity (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task);
abstract member TaskIsWaitingForConnectivity : Foundation.NSUrlSession * Foundation.NSUrlSessionTask -> unit
override this.TaskIsWaitingForConnectivity : Foundation.NSUrlSession * Foundation.NSUrlSessionTask -> unit

參數

session
NSUrlSession
屬性

適用於