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