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