ExceptionUtilities.TraceException Method (Exception)
Traces all information for the specified exception to the log.
Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim ex As Exception
ExceptionUtilities.TraceException(ex)
Syntax
'Declaration
Public Shared Sub TraceException ( _
ex As Exception _
)
public static void TraceException (
Exception ex
)
public:
static void TraceException (
Exception^ ex
)
public static void TraceException (
Exception ex
)
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
Reference
ExceptionUtilities Class
ExceptionUtilities Members
Microsoft.ConfigurationManagement.AdminConsole Namespace