編輯

共用方式為


INCancelWorkoutIntentHandling_Extensions.ConfirmCancelWorkout Method

Definition

Developers may override this method to customize the confirmation of the cancellation of a workout.

public static void ConfirmCancelWorkout (this Intents.IINCancelWorkoutIntentHandling This, Intents.INCancelWorkoutIntent intent, Action<Intents.INCancelWorkoutIntentResponse> completion);
static member ConfirmCancelWorkout : Intents.IINCancelWorkoutIntentHandling * Intents.INCancelWorkoutIntent * Action<Intents.INCancelWorkoutIntentResponse> -> unit

Parameters

This
IINCancelWorkoutIntentHandling

The instance on which this method operates.

intent
INCancelWorkoutIntent

Specifies the user's intention.

completion
Action<INCancelWorkoutIntentResponse>

Completion method that must be called by the override.

Applies to