ArcGIS Explorer Component Help |
DoWorkEventHandler Delegate |
See Also |
Represents the method that will handle the DoWork event of the BackgroundWorker.
Namespace:
ESRI.ArcGISExplorer.ThreadingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public delegate void DoWorkEventHandler( Object sender, DoWorkEventArgs e ) |
Visual Basic (Declaration) |
---|
Public Delegate Sub DoWorkEventHandler ( _ sender As Object, _ e As DoWorkEventArgs _ ) |
Parameters
- sender
- Type: System..::.Object
The source of the event
- e
- Type: ESRI.ArcGISExplorer.Threading..::.DoWorkEventArgs
A DoWorkEventArgs that contains the event data
Remarks
Use a DoWorkEventHandler delegate to identify the method that will run when the DoWork event occurs. To associate the event with your event handler method, create an instance of this delegate and add it to the DoWork event. To stop the event handler method being called when the event occurs, remove the delegate from the DoWork event.