ConsoleParentNode.AddResultObject Method

Adds a result object to the scope pane, and fires the ResultPaneObjectReadyEvent to the views to display the object.

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

Usage

'Usage
Dim sender As Object
Dim e As QueryProcessorObjectEventArgs

Me.AddResultObject(sender, e)

Syntax

'Declaration
Protected Overridable Sub AddResultObject ( _
    sender As Object, _
    e As QueryProcessorObjectEventArgs _
)
protected virtual void AddResultObject (
    Object sender,
    QueryProcessorObjectEventArgs e
)
protected:
virtual void AddResultObject (
    Object^ sender, 
    QueryProcessorObjectEventArgs^ e
)
protected void AddResultObject (
    Object sender, 
    QueryProcessorObjectEventArgs e
)
protected function AddResultObject (
    sender : Object, 
    e : QueryProcessorObjectEventArgs
)

Parameters

  • sender
    [in] System.Object instance that indicates the sender of an event notifying that a result is required.

Remarks

This method is called from a worker thread.

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
ResultPaneObjectReadyEvent
QueryProcessorObjectEventArgs