다음을 통해 공유


QueryProcessorBase.ProcessQuery Method (SmsBackgroundWorker, String, Generic Dictionary, Object)

Processes the specified query by using a background worker object, a dictionary of context objects, and a data tag.

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

Usage

'Usage
Dim instance As QueryProcessorBase
Dim worker As SmsBackgroundWorker
Dim query As String
Dim contextInformation As Dictionary(Of String, Object)
Dim tag As Object

instance.ProcessQuery(worker, query, contextInformation, tag)

Syntax

'Declaration
Public Overridable Sub ProcessQuery ( _
    worker As SmsBackgroundWorker, _
    query As String, _
    contextInformation As Dictionary(Of String, Object), _
    tag As Object _
)
public virtual void ProcessQuery (
    SmsBackgroundWorker worker,
    string query,
    Dictionary<string,Object> contextInformation,
    Object tag
)
public:
virtual void ProcessQuery (
    SmsBackgroundWorker^ worker, 
    String^ query, 
    Dictionary<String^, Object^>^ contextInformation, 
    Object^ tag
)
public void ProcessQuery (
    SmsBackgroundWorker worker, 
    String query, 
    Dictionary<String,Object> contextInformation, 
    Object tag
)
public function ProcessQuery (
    worker : SmsBackgroundWorker, 
    query : String, 
    contextInformation : Dictionary<String,Object>, 
    tag : Object
)

Parameters

  • query
    [in] Name of a query file.
  • contextInformation
    [in] System.Collections.Generic.Dictionary object that represents System.Object instances for context information.
  • tag
    [in] System.Object instance that indicates a data tag.

Exceptions

Exception type Condition
InvalidOperationException

Cannot start a new operation while an existing operation is executing.

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

QueryProcessorBase Class
QueryProcessorBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
SmsBackgroundWorker