ModulePage Class

Definition

Provides the user-interface (UI) base class for developing an IIS Manager extension.

public ref class ModulePage abstract : System::Windows::Forms::ContainerControl, IDisposable, Microsoft::Web::Management::Client::IModulePage
public abstract class ModulePage : System.Windows.Forms.ContainerControl, IDisposable, Microsoft.Web.Management.Client.IModulePage
type ModulePage = class
    inherit ContainerControl
    interface IModulePage
    interface IDisposable
Public MustInherit Class ModulePage
Inherits ContainerControl
Implements IDisposable, IModulePage
Inheritance
ModulePage
Derived
Implements

Remarks

The ModulePage class offers only basic UI services. The Microsoft.Web.Management.Client.Win32.ModuleDialogPage, Microsoft.Web.Management.Client.Win32.ModulePropertiesPage, and Microsoft.Web.Management.Client.Win32.ModuleListPage classes derive from ModulePage and offer more functionality.

Constructors

ModulePage()

Initializes a new instance of the ModulePage class.

Properties

CanRefresh

Gets a value indicating whether the page supports refreshing.

Connection

Gets the associated connection.

ContextMenuStrip

Gets or sets the shortcut menu for the page.

CreateParams

Gets creation parameters for the page.

HasChanges

Gets a value indicating whether the ModulePage object has changes.

InProgress

Gets a value indicating whether the progress bar has been started.

Margin

Gets the default padding.

Module

Gets the module for the page.

PageInfo

Gets the ModulePageInfo object for the page.

PreferenceKey

Gets the identifier that is used in the preference store.

ReadOnly

Gets the current delegation mode for the page.

ReadOnlyDescription

Gets the description that is used when the delegation state is ReadOnlyDelegationState.

RightToLeftLayout

Gets or sets a value indicating whether right-to-left mirror placement is turned on.

ScopeStatusSummary

Gets additional information to show in the status bar.

ServiceProvider

Gets the service provider for the Module object.

ShowTaskList
Tasks

Gets the list of tasks for the page.

Methods

CreateProxy(Type)

Retrieves the service proxy for the page.

DisplayErrorMessage(Exception, ResourceManager)

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

DisplayErrorMessage(Exception, ResourceManager, String)

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

DisplayErrorMessage(String, String)

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

DisplayErrorMessage(String, String, String)

Displays a modal dialog box with an error message, based on the specified error text, error message, and caption.

Dispose(Boolean)

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

EditProperties(IPropertyEditingUser, Object, String, String)

Launches a user interface (UI) to edit the properties of the specified object.

EditProperties(IPropertyEditingUser, Object, String, String, EventHandler)

Launches a user interface (UI) to edit the properties of the specified object, based on the specified event handler.

GetPageType(String)

Retrieves the page type that is associated with the module page.

GetScopeStatusSummary(Connection, String, String)

Retrieves the status summary of the management scope.

GetService(Type)

Retrieves the requested service object.

Initialize(Object)

Initializes the page when it is first created.

LoadPreferences(PreferencesStore)

Loads page preferences from the specified store.

Navigate(Type)

Navigates to the target page.

Navigate(Type, Object)

Navigates to the target page with a payload.

OnActivated(Boolean)

Indicates that the page has been activated.

OnDeactivating(CancelEventArgs)

Provides a mechanism to cancel the page view change.

Refresh()

Indicates that the page needs to be refreshed.

SavePreferences(PreferencesStore)

Indicates that the preferences for the pages are being saved to the specified store.

ShowDialog(DialogForm)

Displays a dialog box that is parented to the top-most window.

ShowError(Exception, Boolean)

Displays an error message box that is parented to the top-most window, using the specified exception and warning status.

ShowError(Exception, String, Boolean)

Displays an error message box that is parented to the top-most window, using the specified exception, message, and warning status.

ShowError(Exception, String, Boolean, String)

Displays an error message box that is parented to the top-most window, using the specified exception, message, warning status, and caption.

ShowError(String, Boolean)

Displays an error message box that is parented to the top-most window, using the specified message and warning status.

ShowHelp()

Indicates whether a Help dialog box is available.

ShowMessage(String)

Displays a message box that is parented to the top-most window, using the specified text.

ShowMessage(String, MessageBoxButtons, MessageBoxIcon)

Displays a message box that is parented to the top-most window, using the specified text, button set, and icon.

ShowMessage(String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)

Displays a message box that is parented to the top-most window, using the specified text, button set, icon, and default button.

ShowMessage(String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, String)

Displays a message box that is parented to the top-most window, using the specified text, button set, icon, default button, and caption.

ShowMessage(String, MessageBoxButtons, MessageBoxIcon, String)

Displays a message box that is parented to the top-most window, using the specified text, button set, icon, and caption.

ShowMessage(String, String)

Displays a message box that is parented to the top-most window, using the specified text and caption.

ShowOnlineHelp()

Returns a value indicating whether online Help is available.

StartAsyncTask(String, DoWorkEventHandler, RunWorkerCompletedEventHandler)

Starts the task by using a worker thread, based on the specified progress text and handlers for work and completion.

StartAsyncTask(String, DoWorkEventHandler, RunWorkerCompletedEventHandler, MethodInvoker)

Starts the task by using a worker thread, based on the specified progress text and handlers for work, completion, and cancellation.

StartAsyncTask(String, DoWorkEventHandler, RunWorkerCompletedEventHandler, MethodInvoker, Object)

Starts the task by using a worker thread, based on the specified progress text, argument object, and handlers for work, completion, and cancellation.

StartProgress(String, MethodInvoker)

Starts the progress indicator.

StopProgress()

Stops the progress indicator.

Update()

Updates the tasks and the user interface (UI).

Explicit Interface Implementations

IDisposable.Dispose()

Calls the Dispose(Boolean) method.

IModulePage.CanRefresh
IModulePage.HasChanges
IModulePage.Initialize(Module, ModulePageInfo, Object)

Initializes the ModulePage object.

IModulePage.OnActivated(Boolean)

Indicates that the page has been activated.

IModulePage.OnDeactivating(CancelEventArgs)

Calls the OnDeactivating(CancelEventArgs) method.

IModulePage.PageInfo
IModulePage.Refresh()

Calls the Refresh() method.

IModulePage.ShowHelp()

Calls the ShowHelp() method.

IModulePage.Tasks

Applies to