Класс XEventException

The exception that is thrown for the QueryableXEvent sources.

Иерархия наследования

System.Object
  System.Exception
    Microsoft.SqlServer.XEvent.Linq.XEventException
      Microsoft.SqlServer.XEvent.Linq.EventEnumerationException
      Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException
      Microsoft.SqlServer.XEvent.Linq.EventFileIOException
      Microsoft.SqlServer.XEvent.Linq.EventLocationException
      Microsoft.SqlServer.XEvent.Linq.EventStreamException
      Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException
      Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException

Пространство имен:  Microsoft.SqlServer.XEvent.Linq
Сборка:  Microsoft.SqlServer.XEvent.Linq (в Microsoft.SqlServer.XEvent.Linq.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class XEventException _
    Inherits Exception
'Применение
Dim instance As XEventException
[SerializableAttribute]
public class XEventException : Exception
[SerializableAttribute]
public ref class XEventException : public Exception
[<SerializableAttribute>]
type XEventException =  
    class 
        inherit Exception 
    end
public class XEventException extends Exception

Тип XEventException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод XEventException() Initializes a new instance of the XEventException class with the default values.
Открытый метод XEventException(String) Initializes a new instance of the XEventException class with a specified error message.
Защищенный метод XEventException(SerializationInfo, StreamingContext) Initializes a new instance of the XEventException class with the specified serialization and context information.
Открытый метод XEventException(String, Exception) Initializes a new instance of the XEventException class with a specified error message and a reference to the inner exception that is the cause of this exception.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink (Производный от Exception.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Важный элемент безопасности. (Производный от Exception.)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Exception.)

В начало

События

  Имя Описание
Защищенное событие SerializeObjectState (Производный от Exception.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.XEvent.Linq