WorkUnit.DoWork (BackgroundWorker, DoWorkEventArgs) Method

Does the actual work allowing progress bar update and cancellation.
Protected Friend Overridable Sub DoWork( _ 
ByVal worker As BackgroundWorker, _ 
ByVal doWorkEventArgs As DoWorkEventArgs
)
This language is not supported or no code example is available.
internal protected virtual void DoWork( 
BackgroundWorker worker
DoWorkEventArgs doWorkEventArgs 
)
This language is not supported or no code example is available.

Parameters

worker
BackgroundWorker

The background worker thread

doWorkEventArgs
DoWorkEventArgs

DoWork event arguments

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition