DevBackgroundWorkerPause Method

Pause a pending background operation.

It blocks the caller thread until the background work is resumed. To resume the background work, call the Resume method.

Definition

Namespace: DevCase.Runtime.Threading
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual void Pause()

Exceptions

InvalidOperationException In order to pause the BackgroundWorker, firstly a pause request should be made.
InvalidOperationException In order to pause the BackgroundWorker, the background operation must be be running.

See Also