Visual Basic (Declaration) | |
---|---|
Public Delegate Sub ErrorEventHandler( _ ByVal sender As Object, _ ByVal args As ErrorEventArgs _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As New ErrorEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void ErrorEventHandler( object sender, ErrorEventArgs args ) |
Managed Extensions for C++ | |
---|---|
public: __gc __delegate void ErrorEventHandler( Object* sender, ErrorEventArgs* args ) |
C++/CLI | |
---|---|
public delegate void ErrorEventHandler( Object^ sender, ErrorEventArgs^ args ) |
Parameters
- sender
- args
Target Platforms: Microsoft .NET Framework 2.0