Share via


EventLocationException Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.XEvent.Linq
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class EventLocationException _
    Inherits XEventException
'Usage
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

The EventLocationException type exposes the following members.

Constructors

  Name Description
Public method EventLocationException() Initializes a new instance of the EventLocationException class using default values.
Public method EventLocationException(String) Initializes a new instance of the EventLocationException class with specified error message.
Protected method EventLocationException(SerializationInfo, StreamingContext) Initializes a new instance of the EventLocationException class with the specified serialization and context information.
Public method 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.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

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.XEvent.Linq Namespace