SqlTraceFailToInstantiateTypeException Class
The SQLTraceFailToInstantiateTypeException class represents the exception raised when an SMO trace object operation fails to instantiate an object.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Trace.SqlTraceException
Microsoft.SqlServer.Management.Trace.SqlTraceFailToInstantiateTypeException
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class SqlTraceFailToInstantiateTypeException _
Inherits SqlTraceException
'Usage
Dim instance As SqlTraceFailToInstantiateTypeException
[SerializableAttribute]
public class SqlTraceFailToInstantiateTypeException : SqlTraceException
[SerializableAttribute]
public ref class SqlTraceFailToInstantiateTypeException : public SqlTraceException
[<SerializableAttribute>]
type SqlTraceFailToInstantiateTypeException =
class
inherit SqlTraceException
end
public class SqlTraceFailToInstantiateTypeException extends SqlTraceException
The SqlTraceFailToInstantiateTypeException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlTraceFailToInstantiateTypeException() | Initiates a new instance of the SQLTraceFailToInstantiateTypeException class. | |
SqlTraceFailToInstantiateTypeException(String) | Initiates a new instance of the SQLTraceFailToInstantiateTypeException class with the specified message. | |
SqlTraceFailToInstantiateTypeException(SerializationInfo, StreamingContext) | Initializes a new instance of the SQLTraceFailToInstantiateTypeException class with the specified serialization information and the specified streaming context. | |
SqlTraceFailToInstantiateTypeException(String, Exception) | Initializes a new instance of the SQLTraceFailToInstantiateTypeException class with the specified message and inner exception. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Events
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
Top
Remarks
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.
Examples
How to: Catch an Exception in Visual Basic .NET
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
Reference
Microsoft.SqlServer.Management.Trace Namespace