Visual Basic (Declaration) | |
---|---|
Public Delegate Sub ProgressEventHandler( _ ByVal sender As Object, _ ByVal e As ProgressEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New ProgressEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void ProgressEventHandler( object sender, ProgressEventArgs e ) |
C++/CLI | |
---|---|
public delegate void ProgressEventHandler( Object^ sender, ProgressEventArgs^ e ) |
Parameters
- sender
- System.Object type System.Object that represents the source of the event.
- e
- A ProgressEventArgs that contains the event data.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7