ISupportWorkManager Interface

Represents an object that supports the WorkManager<T> handling.
Public Interface ISupportWorkManager
This language is not supported or no code example is available.
public interface ISupportWorkManager
This language is not supported or no code example is available.
Name Description
Public property IsBusy Gets background worker thread status.
Top
Methods
 
Name Description
Public method CancelWork() Stops the asynchronous background work.
Public method DoWork(WorkUnit) Accomplishes the work and call WorkUnit.WorkCompleted method.
Public method StartWork(WorkUnit) Starts the work asynchronously.
Top
Events
 
Name Description
Public event ProgressChanged Occurs when the background work is running.
Public event WorkCancelled Occurs when the background work is cancelled.
Public event WorkCompleted Occurs when the background work has completed.
Public event WorkFailed Occurs when the background work has failed.
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition