HMEventTrigger.UpdateExecuteOnce(Boolean, Action<NSError>) 方法

定义

[Foundation.Export("updateExecuteOnce:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateExecuteOnce(bool executeOnce, Action<Foundation.NSError> completion);
abstract member UpdateExecuteOnce : bool * Action<Foundation.NSError> -> unit
override this.UpdateExecuteOnce : bool * Action<Foundation.NSError> -> unit

参数

executeOnce
Boolean
completion
Action<NSError>

操作完成时要运行的处理程序。

属性

适用于