Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal error As Exception, _ ByVal message As String, _ ByVal type As MessageType _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim error As Exception Dim message As String Dim type As MessageType Dim instance As New MessagerMessageEventArgs(error, message, type) |
Managed Extensions for C++ | |
---|---|
public: MessagerMessageEventArgs( Exception* error, string* message, MessageType type ) |
C++/CLI | |
---|---|
public: MessagerMessageEventArgs( Exception^ error, String^ message, MessageType type ) |
Parameters
- error
- Type: System.Exception. The error exception.
- message
- Type: System.String The message text.
- type
- Type: MessageType The message type.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7