Класс EventLocationException

Represents an exception that is thrown when a location cannot be found.

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

System.Object
  System.Exception
    Microsoft.SqlServer.XEvent.Linq.XEventException
      Microsoft.SqlServer.XEvent.Linq.EventLocationException

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

Синтаксис

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

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

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

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