Share via


MessageBoxParameters Class

 

Represents the parameters that are used to show a modal message box on either a property sheet or the console.

Namespace:   Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.Advanced.MessageBoxParameters

Syntax

public sealed class MessageBoxParameters
public ref class MessageBoxParameters sealed 
[<Sealed>]
type MessageBoxParameters = class end
Public NotInheritable Class MessageBoxParameters

Constructors

Name Description
System_CAPS_pubmethod MessageBoxParameters()

Initializes a new instance of the MessageBoxParameters class.

Properties

Name Description
System_CAPS_pubproperty Buttons

Gets or sets the set of buttons to show on the message box.

System_CAPS_pubproperty Caption

Gets or sets the title of the message box.

System_CAPS_pubproperty DefaultButton

Gets or sets the default button on the message box.

System_CAPS_pubproperty HelpFilePath

Gets or sets the path and name of the help file to display when the user clicks the Help button.

System_CAPS_pubproperty HelpTopicId

Gets or sets the numeric ID of the help topic to display when the user clicks the Help button.

System_CAPS_pubproperty Icon

Gets or sets the icon to show with the message box.

System_CAPS_pubproperty Navigator

Gets or sets one of the HelpNavigator values.

System_CAPS_pubproperty Options

Gets or sets other options that are exposed by WinForms.

System_CAPS_pubproperty ShowHelp

Gets or sets the flag that decides whether to use the help options and show the Help button on the dialog.

System_CAPS_pubproperty Text

Gets or sets the text contents of the message box.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ManagementConsole.Advanced Namespace

Return to top