ArcGIS Explorer Component Help |
RunWorkerCompletedEventHandler Delegate |
See Also |
Represents the method that will handle the RunWorkerCompleted 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 RunWorkerCompletedEventHandler( Object sender, RunWorkerCompletedEventArgs e ) |
Visual Basic (Declaration) |
---|
Public Delegate Sub RunWorkerCompletedEventHandler ( _ sender As Object, _ e As RunWorkerCompletedEventArgs _ ) |
Parameters
- sender
- Type: System..::.Object
The source of the event
- e
- Type: ESRI.ArcGISExplorer.Threading..::.RunWorkerCompletedEventArgs
A RunWorkerCompletedEventArgs that contains the event data
Remarks
Use a RunWorkerCompletedEventHandler delegate to identify the method that will run when the RunWorkerCompleted event occurs. To associate the event with your event handler method, create an instance of this delegate and add it to the RunWorkerCompleted event. To stop the event handler method being called when the event occurs, remove the delegate from the RunWorkerCompleted event.
For more information about associating event handler delegates with events, see 'How to use delegates to run code when events occur'.