Traces all information for the specified exception to the log.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Syntax
Visual Basic |
Public Shared Sub TraceException ( _
ex As Exception _
)
|
C# |
public static void TraceException (
Exception ex
)
|
C++ |
public:
static void TraceException (
Exception^ ex
)
|
J# |
public static void TraceException (
Exception ex
)
|
JScript |
public static function TraceException (
ex : Exception
)
|
Parameters
- ex
-
[in] System.Exception object.
Exceptions
Exception type |
Condition |
ArgumentNullException
|
The ex parameter cannot be null.
|
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also