CLLocationManagerDelegate_Extensions.MonitoringFailed 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
參數
這個擴充方法運作所在的實例。
- manager
- CLLocationManager
this
, CLLocationManager 其為委派物件。
- region
- CLRegion
- error
- NSError
失敗的原因。
- 屬性