共用方式為


CLLocationManagerDelegate_Extensions.MonitoringFailed 方法

定義

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void MonitoringFailed (this CoreLocation.ICLLocationManagerDelegate This, CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region, Foundation.NSError error);
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static void MonitoringFailed (this CoreLocation.ICLLocationManagerDelegate This, CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region, Foundation.NSError error);
static member MonitoringFailed : CoreLocation.ICLLocationManagerDelegate * CoreLocation.CLLocationManager * CoreLocation.CLRegion * Foundation.NSError -> unit

參數

This
ICLLocationManagerDelegate

這個擴充方法運作所在的實例。

manager
CLLocationManager

thisCLLocationManager 其為委派物件。

region
CLRegion
error
NSError

失敗的原因。

屬性

適用於