Share via


BaseTaskForm.StartTaskProgress Method

Definition

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.

Applies to