Traces an exception.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Sub TraceException( _
ByVal ex As Exception _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Tracing
Dim ex As Exception
instance.TraceException(ex)
|
| C# | |
|---|
public void TraceException(
Exception ex
) |
| Managed Extensions for C++ | |
|---|
public: void TraceException(
Exception* ex
) |
| C++/CLI | |
|---|
public:
void TraceException(
Exception^ ex
) |
Parameters
- ex
- The exception that is traced.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also