RunWorkerCompletedEventHandler Delegate

 

Represents the method that will handle the RunWorkerCompleted event of a BackgroundWorker class.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

No code example is currently available or this language may not be supported.

Parameters

sender
Type: System.Object

The source of the event.

e
Type: System.ComponentModel.RunWorkerCompletedEventArgs

A RunWorkerCompletedEventArgs that contains the event data.

When you create a RunWorkerCompletedEventHandler delegate, you identify a method to handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see NIB: Events and Delegates.

The following code example shows a method that can be used as a handler for RunWorkerCompletedEventHandler. This example is part of a larger sample for the BackgroundWorker class.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: