Compartir a través de


ScopeNodeBase.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 ScopeNodeBase
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

  • selectedResultObject
    [in] IResultObject interface for getting and setting result object properties.
  • selectionSharedData
    [in] Microsoft.ManagementConsole.SharedData object for the selection.
  • showDialog
    [in] true to show the dialog.

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

ScopeNodeBase Class
ScopeNodeBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ActionDescription
PropertyDataUpdated Delegate
IResultObject