IManagementUIService Interface
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.
Enables a module user interface (UI) to launch Windows Forms.
public interface class IManagementUIService
public interface IManagementUIService
type IManagementUIService = interface
Public Interface IManagementUIService
Remarks
This host service is applicable to the Windows Forms–based host. It allows a module user interface to launch dialog boxes, message boxes, helper applications, module pages, and other Windows Forms controls.
This service is exposed by the Microsoft.Web.Management.Client.Module.GetService method.
Properties
Colors |
Gets the color table for the user interface (UI). |
DialogOwner |
Gets the parent window ID. |
RightToLeftLayout |
Gets a value indicating whether right-to-left mirror placement is enabled. |
Styles |
Gets a list of user interface (UI) styles. |
Methods
ShowContextMenu(Point) |
Provides the location for a shortcut menu. |
ShowDialog(DialogForm) |
Shows the form as a modal dialog box that has the specified owner. |
ShowError(Exception, String, String, Boolean) |
Displays the specified exception and information about the exception in a message box. |
ShowMessage(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) |
Displays the specified message in a message box with the specified caption, buttons, icon, and default button. |
ShowMessage(String, String, MessageBoxButtons, MessageBoxIcon) |
Displays the specified message in a message box with the specified caption, buttons, and icon. |
ShowMessage(String, String) |
Displays the specified message in a message box with the specified caption. |
StartProgress(String, MethodInvoker) |
Starts the progress indicator. |
StopProgress(Object) |
Stops the progress indicator that is identified by the specified token. |
Update() |
Updates the user interface (UI) with the current state information. |