BaseTaskForm.InvalidateTask(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invalidates the progress bar and causes the control to be redrawn.
protected public:
void InvalidateTask(bool progressGradientOnly);
protected internal void InvalidateTask (bool progressGradientOnly);
member this.InvalidateTask : bool -> unit
Protected Friend Sub InvalidateTask (progressGradientOnly As Boolean)
Parameters
- progressGradientOnly
- Boolean
true
to invalidate the progress bar's child controls; otherwise, false
.
Examples
The following example stops the progress bar.
protected override void StopTaskProgress() {
base.StopTaskProgress();
MyStopTaskProgress();
InvalidateTask( true);
}
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for