Export (0) Print
Expand All
Expand Minimize

ProgressEventHandler Delegate

Represents the method that will handle the Progress event.

[Visual Basic]
<Serializable>
Public Delegate Sub ProgressEventHandler( _
   ByVal sender As Object, _
   ByVal e As ProgressEventArgs _
)
[C#]
[Serializable]
public delegate void ProgressEventHandler(
   object sender,
   ProgressEventArgs e
);
[C++]
[Serializable]
public __gc __delegate void ProgressEventHandler(
   Object* sender,
   ProgressEventArgs* e
);

[JScript] In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your event handler must have the same parameters as the ProgressEventHandler delegate declaration.

Requirements

Namespace: System.Management

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Management (in System.Management.dll)

See Also

System.Management Namespace

Show:
© 2014 Microsoft