SqlTraceException-Klasse
The SQLTraceException class represents the general exception raised by the SMO trace objects.
Vererbungshierarchie
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Trace..::..SqlTraceException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceFailToInstantiateTypeException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceFailToLoadInstAPIAssemblyException
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
Der SqlTraceException-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
SqlTraceException() () () () | Initializes a new instance of the SQLTraceException class. | |
SqlTraceException(String) | Initializes a new instance of the SQLTraceException class with the specified message. | |
SqlTraceException(SerializationInfo, StreamingContext) | Initializes a new instance of the SQLTraceException class with the specified serialization information and the specified streaming context. | |
SqlTraceException(String, Exception) | Initializes a new instance of the SQLTraceException class with the specified message and inner exception. | |
SqlTraceException(Type, String) | Initializes a new instance of the SQLTraceException class with the specified source type and the specified message. | |
SqlTraceException(Type, String, Exception) | Initializes a new instance of the SQLTraceException class with the specified source type, message and inner exception. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Data | (Geerbt von Exception.) | |
HelpLink | (Geerbt von Exception.) | |
HResult | (Geerbt von Exception.) | |
InnerException | (Geerbt von Exception.) | |
Message | (Geerbt von Exception.) | |
ProdVer | Gets a String value that specifies the product version. | |
Source | (Geerbt von Exception.) | |
StackTrace | (Geerbt von Exception.) | |
TargetSite | (Geerbt von Exception.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetBaseException | (Geerbt von Exception.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectData | (Geerbt von Exception.) | |
GetType | (Geerbt von Exception.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von Exception.) |
Zum Anfang
Hinweise
This class represents the main exception class in the SMO trace objects.
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
Siehe auch