| Visual Basic (Declaration) | |
|---|---|
Public Function GetException() As Exception | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ErrorEventArgs Dim value As Exception value = instance.GetException() | |
| C# | |
|---|---|
public Exception GetException() | |
| Managed Extensions for C++ | |
|---|---|
public: Exception* GetException(); | |
| C++/CLI | |
|---|---|
public: Exception^ GetException(); | |
Target Platforms: Microsoft .NET Framework 2.0