Visual Basic (Declaration) | |
---|---|
Public Delegate Sub MessagerMessageHandler( _ ByVal args As MessagerMessageEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New MessagerMessageHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void MessagerMessageHandler( MessagerMessageEventArgs args ) |
Managed Extensions for C++ | |
---|---|
public: __gc __delegate void MessagerMessageHandler( MessagerMessageEventArgs* args ) |
C++/CLI | |
---|---|
public delegate void MessagerMessageHandler( MessagerMessageEventArgs^ args ) |
Parameters
- args
- A MessagerMessageEventArgs 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