IINCancelWorkoutIntentHandling.HandleCancelWorkout 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開發人員必須覆寫這個方法,並叫用適用于 的 INCancelWorkoutIntentintent
T:System.Action'1INCancelWorkoutIntentResponse 。
[Foundation.Export("handleCancelWorkout:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleCancelWorkout(Intents.INCancelWorkoutIntent intent, Action<Intents.INCancelWorkoutIntentResponse> completion);
abstract member HandleCancelWorkout : Intents.INCancelWorkoutIntent * Action<Intents.INCancelWorkoutIntentResponse> -> unit
參數
- intent
- INCancelWorkoutIntent
指定使用者的意圖。
- completion
- Action<INCancelWorkoutIntentResponse>
覆寫必須呼叫的完成方法。
- 屬性