HMTrigger.UpdateNameAsync(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
汇报触发器的名称,并在触发器完成后运行completion
。
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task UpdateNameAsync(string name);
abstract member UpdateNameAsync : string -> System.Threading.Tasks.Task
override this.UpdateNameAsync : string -> System.Threading.Tasks.Task
参数
- name
- String
返回
表示异步 UpdateName 操作的任务
- 属性