SqlTraceException Class
The SQLTraceException class represents the general exception raised by the SMO trace objects.
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class SqlTraceException _
Inherits SqlServerManagementException
'Usage
Dim instance As SqlTraceException
[SerializableAttribute]
public class SqlTraceException : SqlServerManagementException
[SerializableAttribute]
public ref class SqlTraceException : public SqlServerManagementException
[<SerializableAttribute>]
type SqlTraceException =
class
inherit SqlServerManagementException
end
public class SqlTraceException extends SqlServerManagementException
Remarks
This class represents the main exception class in the SMO trace objects.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Trace.SqlTraceException
Microsoft.SqlServer.Management.Trace.SqlTraceFailToInstantiateTypeException
Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException
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.
See Also