Udostępnij za pośrednictwem


SmsBackgroundWorker Members

Runs an operation on a separate thread in Configuration Manager 2007.

The following tables list the members exposed by the SmsBackgroundWorker type.

Public Constructors

  Name Description
  SmsBackgroundWorker Overloaded.  

Top

Public Properties

  Name Description
public property CancellationPending Gets a value that indicates whether the application has requested cancelation of a background operation.
public property IsBusy Gets a value that indicates whether the background worker is busy running a background operation.
public property ProcessQueryItemCount Gets the number of query items that are retrieved by QueryProcessorObjectsReady.
public property WorkerProcess Sets an event handler delegate to use when the application calls RunWorkerAsync. This property supports the Configuration Manager infrastructure and is not intended to be used directly from your code.
public property WorkerSet Gets a value that indicates whether the background worker process has been set previously. This property supports the Configuration Manager infrastructure and is not intended to be used directly from your code.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method CancelAsync Requests cancelation of a pending asynchronous operation.
public method Dispose Overloaded.  
public method Equals  Overloaded. (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public methodstatic ReferenceEquals  (inherited from Object)
public method ReportProgress Reports progress on a background operation. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code.
public method RunWorkerAsync Starts execution of a background asynchronous operation.
public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
protected method Dispose Overloaded.  
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

Public Events

  Name Description
public event QueryProcessorCompleted Notifies of the completion of query processing.
public event QueryProcessorObjectReady Notifies that the query processor object is ready.
public event QueryProcessorObjectsReady Notifies that query processor objects are ready.

Top

See Also

Reference

SmsBackgroundWorker Class
Microsoft.ConfigurationManagement.ManagementProvider Namespace
QueryProcessorBase Class

Other Resources

How to Enumerate Through The Configuration Manager Site Control File Using Managed Code
How to Perform an Asynchronous Configuration Manager Query by Using Managed Code