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

Visual Basic
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

Visual Basic
Public Overridable Sub ProcessQuery ( _
		worker As SmsBackgroundWorker, _
		query As String, _
		contextInformation As Dictionary(Of String, Object), _
		tag As Object _
)
C#
public virtual void ProcessQuery (
		SmsBackgroundWorker worker,
		string query,
		Dictionary<string,Object> contextInformation,
		Object tag
)
C++
public:
virtual void ProcessQuery (
		SmsBackgroundWorker^ worker, 
		String^ query, 
		Dictionary<String^, Object^>^ contextInformation, 
		Object^ tag
)
J#
public void ProcessQuery (
		SmsBackgroundWorker worker, 
		String query, 
		Dictionary<String,Object> contextInformation, 
		Object tag
)
JScript
public function ProcessQuery (
		worker : SmsBackgroundWorker, 
		query : String, 
		contextInformation : Dictionary<String,Object>, 
		tag : Object
)

Parameters

worker

[in] SmsBackgroundWorker object for processing the query.

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