BaseTaskForm.StartTaskProgress 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.
Sets the cursor to the value of the AppStarting property and sets the enabled state of the Content View page in IIS Manager.
protected:
virtual void StartTaskProgress();
protected virtual void StartTaskProgress ();
abstract member StartTaskProgress : unit -> unit
override this.StartTaskProgress : unit -> unit
Protected Overridable Sub StartTaskProgress ()
Examples
The following example duplicates the StartTaskProgress method.
protected override void StartTaskProgress() {
Cursor.Current = Cursors.AppStarting;
this._contentPanel.Enabled = !BackgroundJobRunning;
}
The following example overrides the StartTaskProgress method.
protected override void StartTaskProgress() {
UpdateMyTaskForm();
base.StartTaskProgress();
}
Remarks
The StartAsyncTask method calls the StartTaskProgress method.