XEventException Class
The exception that is thrown for the QueryableXEvent sources.
Inheritance Hierarchy
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
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class XEventException _
Inherits Exception
'Usage
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
The XEventException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Events
Name | Description | |
---|---|---|
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.