ShowMessage (actionGroup) Element
Represents an action that shows a message box.
<xs:element name="ShowMessage"
type="showMessageType"
/>
The ShowMessage element is defined by the actionGroup .
Parent element
Element | Derived from | Description |
---|---|---|
Actions (taskType) | actionsType | Contains the actions performed by the task. |
Child elements
Element | Type | Description |
---|---|---|
Body | nonEmptyString | Specifies the text to display in the body of the message box. |
Title | nonEmptyString | Specifies the title of the message box. |
Remarks
For scripting development, a message box action is specified using the ShowMessageAction object.
For C++ development, a message box action is specified using the IShowMessageAction interface.
Windows 8 and Windows Server 2012: This element has been removed. You can use IExecAction with the Windows scripting MsgBox function to show a message in the user session.
Examples
For a complete example of the XML for a task that uses a message box action, see Message Box Example (XML).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
End of client support |
Windows 7 |
End of server support |
Windows Server 2008 R2 |