C# Class System.ComponentModel.BackgroundWorker

Inheritance: Component
Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
AsyncOperationCompleted void
ProgressReporter void
WorkerThreadStart void

Public Methods

Method Description
BackgroundWorker ( ) : System.ComponentModel.Design.Serialization
CancelAsync ( ) : void
ReportProgress ( int percentProgress ) : void
ReportProgress ( int percentProgress, object userState ) : void
RunWorkerAsync ( ) : void
RunWorkerAsync ( object argument ) : void

Protected Methods

Method Description
OnDoWork ( DoWorkEventArgs e ) : void
OnProgressChanged ( ProgressChangedEventArgs e ) : void
OnRunWorkerCompleted ( RunWorkerCompletedEventArgs e ) : void

Private Methods

Method Description
AsyncOperationCompleted ( object arg ) : void
ProgressReporter ( object arg ) : void
WorkerThreadStart ( object argument ) : void

Method Details

BackgroundWorker() public method

public BackgroundWorker ( ) : System.ComponentModel.Design.Serialization
return System.ComponentModel.Design.Serialization

CancelAsync() public method

public CancelAsync ( ) : void
return void

OnDoWork() protected method

protected OnDoWork ( DoWorkEventArgs e ) : void
e DoWorkEventArgs
return void

OnProgressChanged() protected method

protected OnProgressChanged ( ProgressChangedEventArgs e ) : void
e ProgressChangedEventArgs
return void

OnRunWorkerCompleted() protected method

protected OnRunWorkerCompleted ( RunWorkerCompletedEventArgs e ) : void
e RunWorkerCompletedEventArgs
return void

ReportProgress() public method

public ReportProgress ( int percentProgress ) : void
percentProgress int
return void

ReportProgress() public method

public ReportProgress ( int percentProgress, object userState ) : void
percentProgress int
userState object
return void

RunWorkerAsync() public method

public RunWorkerAsync ( ) : void
return void

RunWorkerAsync() public method

public RunWorkerAsync ( object argument ) : void
argument object
return void