Progress.RegisterCancelCallback

Switch to Manual
public static void RegisterCancelCallback (int id, Func<bool> callback);

Parameters

idThe progress indicator's unique ID.
callbackThe function called when a progress indicator's associated task is canceled.

Description

Registers a callback that is called when the user cancels a running progress indicator's associated task.