Класс SqlTraceException
The SQLTraceException class represents the general exception raised by the SMO trace objects.
Иерархия наследования
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Trace..::..SqlTraceException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceFailToInstantiateTypeException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceFailToLoadInstAPIAssemblyException
Пространство имен: Microsoft.SqlServer.Management.Trace
Сборка: Microsoft.SqlServer.ConnectionInfoExtended (в Microsoft.SqlServer.ConnectionInfoExtended.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class SqlTraceException _
Inherits SqlServerManagementException
'Применение
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
Тип SqlTraceException обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
Data | (Производный от Exception.) |
![]() |
HelpLink | (Производный от Exception.) |
![]() |
HResult | (Производный от Exception.) |
![]() |
InnerException | (Производный от Exception.) |
![]() |
Message | (Производный от Exception.) |
![]() ![]() |
ProdVer | Gets a String value that specifies the product version. |
![]() |
Source | (Производный от Exception.) |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | (Производный от Exception.) |
![]() |
GetType | (Производный от Exception.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Exception.) |
В начало
Замечания
This class represents the main exception class in the SMO trace objects.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также