ModuleDialogPage Class
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.
Provides the user-interface base class for developing an IIS Manager dialog-box extension.
public ref class ModuleDialogPage abstract : Microsoft::Web::Management::Client::Win32::ModulePage
public abstract class ModuleDialogPage : Microsoft.Web.Management.Client.Win32.ModulePage
type ModuleDialogPage = class
inherit ModulePage
Public MustInherit Class ModuleDialogPage
Inherits ModulePage
- Inheritance
- Derived
Remarks
This base class offers Apply and Cancel links in the IIS Manager Actions pane and other methods that you can override to handle common tasks.
IIS Manager features that derive from this page include Default Document, Directory Browsing, Machine Key, Management Service, Session State, and SMTP E-mail.
Notes to Implementers
When you inherit from ModuleDialogPage, you must override the following members: CanApplyChanges, ApplyChanges(), and CancelChanges().
Constructors
ModuleDialogPage() |
Initializes a new instance of the ModuleDialogPage class. |
Properties
CanApplyChanges |
When overridden in a derived class, gets a value indicating whether the page can apply internal state changes. |
CanRefresh |
Gets a value indicating whether the page supports refreshing. (Inherited from ModulePage) |
ChangesSavedMessage |
When overridden in a derived class, gets a message to indicate that the changes have been saved successfully. |
Connection |
Gets the associated connection. (Inherited from ModulePage) |
ContextMenuStrip |
Gets or sets the shortcut menu for the page. (Inherited from ModulePage) |
CreateParams |
Gets creation parameters for the page. (Inherited from ModulePage) |
HasChanges |
Gets a value indicating whether the ModulePage object has changes. (Inherited from ModulePage) |
InProgress |
Gets a value indicating whether the progress bar has been started. (Inherited from ModulePage) |
Margin |
Gets the default padding. (Inherited from ModulePage) |
Module |
Gets the module for the page. (Inherited from ModulePage) |
PageInfo |
Gets the ModulePageInfo object for the page. (Inherited from ModulePage) |
PreferenceKey |
Gets the identifier that is used in the preference store. (Inherited from ModulePage) |
ReadOnly |
Gets the current delegation mode for the page. (Inherited from ModulePage) |
ReadOnlyDescription |
Gets the description that is used when the delegation state is ReadOnlyDelegationState. (Inherited from ModulePage) |
RightToLeftLayout |
Gets or sets a value indicating whether right-to-left mirror placement is turned on. (Inherited from ModulePage) |
ScopeStatusSummary |
Gets additional information to show in the status bar. (Inherited from ModulePage) |
ServiceProvider |
Gets the service provider for the Module object. (Inherited from ModulePage) |
ShowTaskList | (Inherited from ModulePage) |
Tasks |
Gets the collection of tasks for the page. |
Methods
ApplyChanges() |
When overridden in a derived class, returns a value indicating the success of applied changes. |
CancelChanges() |
When overridden in a derived class, discards any pending changes for the current page. |
CreateProxy(Type) |
Retrieves the service proxy for the page. (Inherited from ModulePage) |
DisplayErrorMessage(Exception, ResourceManager, String) |
Displays a modal dialog box with an error message, based on the specified exception, resource manager, and caption. (Inherited from ModulePage) |
DisplayErrorMessage(Exception, ResourceManager) |
Displays a modal dialog box with an error message, based on the specified exception and resource manager. (Inherited from ModulePage) |
DisplayErrorMessage(String, String, String) |
Displays a modal dialog box with an error message, based on the specified error text, error message, and caption. (Inherited from ModulePage) |
DisplayErrorMessage(String, String) |
Displays a modal dialog box with an error message, based on the specified error text and error message. (Inherited from ModulePage) |
Dispose(Boolean) |
Releases the unmanaged resources used by the ModulePage and optionally releases the managed resources. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
EditProperties(IPropertyEditingUser, Object, String, String) |
Launches a user interface (UI) to edit the properties of the specified object. (Inherited from ModulePage) |
GetPageType(String) |
Retrieves the page type that is associated with the module page. (Inherited from ModulePage) |
GetService(Type) |
Retrieves the requested service object. (Inherited from ModulePage) |
Initialize(Object) |
Initializes the page when it is first created. (Inherited from ModulePage) |
LoadPreferences(PreferencesStore) |
Loads page preferences from the specified store. (Inherited from ModulePage) |
Navigate(Type, Object) |
Navigates to the target page with a payload. (Inherited from ModulePage) |
Navigate(Type) |
Navigates to the target page. (Inherited from ModulePage) |
OnActivated(Boolean) |
Indicates that the page has been activated. (Inherited from ModulePage) |
OnDeactivating(CancelEventArgs) |
Provides a dialog box that asks the user to confirm or cancel pending changes. |
OnRefresh() |
When overridden in a derived class, refreshes the page. |
Refresh() |
Provides a dialog box that asks the user to confirm or cancel pending changes. |
SavePreferences(PreferencesStore) |
Indicates that the preferences for the pages are being saved to the specified store. (Inherited from ModulePage) |
ShowDialog(DialogForm) |
Displays a dialog box that is parented to the top-most window. (Inherited from ModulePage) |
ShowError(Exception, Boolean) |
Displays an error message box that is parented to the top-most window, using the specified exception and warning status. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
ShowError(String, Boolean) |
Displays an error message box that is parented to the top-most window, using the specified message and warning status. (Inherited from ModulePage) |
ShowHelp() |
Indicates whether a Help dialog box is available. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
ShowMessage(String, MessageBoxButtons, MessageBoxIcon) |
Displays a message box that is parented to the top-most window, using the specified text, button set, and icon. (Inherited from ModulePage) |
ShowMessage(String, String) |
Displays a message box that is parented to the top-most window, using the specified text and caption. (Inherited from ModulePage) |
ShowMessage(String) |
Displays a message box that is parented to the top-most window, using the specified text. (Inherited from ModulePage) |
ShowOnlineHelp() |
Returns a value indicating whether online Help is available. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
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. (Inherited from ModulePage) |
StartAsyncTask(String, DoWorkEventHandler, RunWorkerCompletedEventHandler) |
Starts the task by using a worker thread, based on the specified progress text and handlers for work and completion. (Inherited from ModulePage) |
StartProgress(String, MethodInvoker) |
Starts the progress indicator. (Inherited from ModulePage) |
StopProgress() |
Stops the progress indicator. (Inherited from ModulePage) |
Update() |
Updates the tasks and the user interface (UI). (Inherited from ModulePage) |
Explicit Interface Implementations
IDisposable.Dispose() |
Calls the Dispose(Boolean) method. (Inherited from ModulePage) |
IModulePage.CanRefresh | (Inherited from ModulePage) |
IModulePage.HasChanges | (Inherited from ModulePage) |
IModulePage.Initialize(Module, ModulePageInfo, Object) |
Initializes the ModulePage object. (Inherited from ModulePage) |
IModulePage.OnActivated(Boolean) |
Indicates that the page has been activated. (Inherited from ModulePage) |
IModulePage.OnDeactivating(CancelEventArgs) |
Calls the OnDeactivating(CancelEventArgs) method. (Inherited from ModulePage) |
IModulePage.PageInfo | (Inherited from ModulePage) |
IModulePage.Refresh() |
Calls the Refresh() method. (Inherited from ModulePage) |
IModulePage.ShowHelp() |
Calls the ShowHelp() method. (Inherited from ModulePage) |
IModulePage.Tasks | (Inherited from ModulePage) |