共用方式為


HMEventTrigger.UpdateExecuteOnceAsync(Boolean) 方法

定義

[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 System.Threading.Tasks.Task UpdateExecuteOnceAsync (bool executeOnce);
abstract member UpdateExecuteOnceAsync : bool -> System.Threading.Tasks.Task
override this.UpdateExecuteOnceAsync : bool -> System.Threading.Tasks.Task

參數

executeOnce
Boolean

傳回

表示非同步 UpdateExecuteOnce 作業的工作

屬性

備註

UpdateExecuteOnceAsync 方法適合搭配 C# 非同步使用,方法是將控制項傳回給代表作業之 Task 的呼叫端。

即將加入。

適用於