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
失败的原因。
- 属性