BaseTaskForm Class

Definition

Defines a base class for controls on a form.

public ref class BaseTaskForm abstract : Microsoft::Web::Management::Client::Win32::DialogForm
public abstract class BaseTaskForm : Microsoft.Web.Management.Client.Win32.DialogForm
type BaseTaskForm = class
    inherit DialogForm
Public MustInherit Class BaseTaskForm
Inherits DialogForm
Inheritance
BaseTaskForm
Derived

Constructors

BaseTaskForm(IServiceProvider)

Initializes a new instance of the BaseTaskForm class.

Properties

BackgroundJobRunning

Gets a value indicating whether the background worker thread is busy.

BorderMargin

Gets the size, in pixels, of the border margin.

CanShowHelp

Gets a value indicating whether the context-sensitive Help button is shown.

(Inherited from BaseForm)
ServiceProvider

Gets the service object for the class.

(Inherited from BaseForm)

Methods

CancelAsyncTask()

Provides a method for the user to cancel the current task.

DisplayErrorMessage(Exception, ResourceManager)

Displays a modal dialog box with an error message, based on the specified exception and resource manager.

Dispose(Boolean)

Releases the unmanaged resources used by the BaseForm and optionally releases the managed resources.

(Inherited from BaseForm)
GetService(Type)

Retrieves the requested service.

(Inherited from BaseForm)
InvalidateTask(Boolean)

Invalidates the progress bar and causes the control to be redrawn.

OnActivated(EventArgs)

Occurs when the base form is activated.

(Inherited from BaseForm)
OnHelpRequested(HelpEventArgs)

Occurs when a Help control is activated.

(Inherited from BaseForm)
OnInitialActivated(EventArgs)

Occurs when the base form is first activated.

(Inherited from BaseForm)
SetButtonsPanel(Control)

Adds a button to the button panel.

SetContent(Control)

Sets the controls for the Content View page in IIS Manager.

ShowError(Exception, String, Boolean)

Displays the specified exception and information about the exception in a message box.

(Inherited from BaseForm)
ShowHelp()

When overridden in a derived class, displays the Help file.

(Inherited from BaseForm)
ShowMessage(String)

Displays a message box that uses the specified text.

(Inherited from BaseForm)
ShowMessage(String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)

Displays a message box that uses the specified text, button set, symbol, and default button.

(Inherited from BaseForm)
StartAsyncTask(DoWorkEventHandler, RunWorkerCompletedEventHandler)

Starts a task by using a worker thread, and configures the work-completed event handler.

StartAsyncTask(DoWorkEventHandler, RunWorkerCompletedEventHandler, MethodInvoker)

Starts a task by using a worker thread, and configures the work-completed and cancel-task event handlers.

StartAsyncTask(DoWorkEventHandler, RunWorkerCompletedEventHandler, MethodInvoker, Object)

Starts a task by using a worker thread, configures the work-completed and cancel-task event handlers, and passes an object to the task event handler.

StartTaskProgress()

Sets the cursor to the value of the AppStarting property and sets the enabled state of the Content View page in IIS Manager.

StopTaskProgress()

Sets the cursor to the default value and enables the Content View page in IIS Manager.

Update()

When overridden in a derived class, updates the view of the form.

(Inherited from BaseForm)
WndProc(Message)

Reroutes the context-sensitive Help button events to the ShowHelp() method.

(Inherited from BaseForm)

Applies to