ConsoleParentNode.ShowDialogResource Method
Displays the specified Configuration Manager console dialog box to the user.
Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
'Usage
Dim instance As ConsoleParentNode
Dim configMgrActionDescription As ActionDescription
Dim selectedResultObject As IResultObject
Dim selectionSharedData As SharedData
Dim showDialog As Boolean
Dim dataUpdatedDelegate As PropertyDataUpdated
instance.ShowDialogResource(configMgrActionDescription, selectedResultObject, selectionSharedData, showDialog, dataUpdatedDelegate)
Syntax
'Declaration
Public Sub ShowDialogResource ( _
configMgrActionDescription As ActionDescription, _
selectedResultObject As IResultObject, _
selectionSharedData As SharedData, _
showDialog As Boolean, _
dataUpdatedDelegate As PropertyDataUpdated _
)
public void ShowDialogResource (
ActionDescription configMgrActionDescription,
IResultObject selectedResultObject,
SharedData selectionSharedData,
bool showDialog,
PropertyDataUpdated dataUpdatedDelegate
)
public:
void ShowDialogResource (
ActionDescription^ configMgrActionDescription,
IResultObject^ selectedResultObject,
SharedData^ selectionSharedData,
bool showDialog,
PropertyDataUpdated^ dataUpdatedDelegate
)
public void ShowDialogResource (
ActionDescription configMgrActionDescription,
IResultObject selectedResultObject,
SharedData selectionSharedData,
boolean showDialog,
PropertyDataUpdated dataUpdatedDelegate
)
public function ShowDialogResource (
configMgrActionDescription : ActionDescription,
selectedResultObject : IResultObject,
selectionSharedData : SharedData,
showDialog : boolean,
dataUpdatedDelegate : PropertyDataUpdated
)
Parameters
- configMgrActionDescription
[in] ActionDescription object.
- selectedResultObject
[in] IResultObject interface to use for getting or setting result object properties.
- selectionSharedData
[in] Microsoft.ManagementConsole.SharedData object for the selection.
- showDialog
[in] true to show the dialog box.
- dataUpdatedDelegate
[in] PropertyDataUpdated delegate.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The configMgrActionDescription parameter cannot be null. |
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.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also
Reference
ConsoleParentNode Class
ConsoleParentNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ActionDescription
PropertyDataUpdated
IResultObject