Freigeben über


UtilityClass.RefreshForAction Method

Refreshes the selected result object for the specified action.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim actionItemDescription As ActionDescription
Dim selectedResultObject As IResultObject

UtilityClass.RefreshForAction(actionItemDescription, selectedResultObject)

Syntax

'Declaration
Public Shared Sub RefreshForAction ( _
    actionItemDescription As ActionDescription, _
    selectedResultObject As IResultObject _
)
public static void RefreshForAction (
    ActionDescription actionItemDescription,
    IResultObject selectedResultObject
)
public:
static void RefreshForAction (
    ActionDescription^ actionItemDescription, 
    IResultObject^ selectedResultObject
)
public static void RefreshForAction (
    ActionDescription actionItemDescription, 
    IResultObject selectedResultObject
)
public static function RefreshForAction (
    actionItemDescription : ActionDescription, 
    selectedResultObject : IResultObject
)

Parameters

  • selectedResultObject
    [in] IResultObject interface for the selected result object.

Exceptions

Exception type Condition
ArgumentNullException

The actionItemDescription parameter cannot be null.

OperationCanceledException

The operation was canceled before it completed.

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

UtilityClass Class
UtilityClass Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ActionDescription
IResultObject