Dela via


EventStreamVersionException Class

The exception that is thrown if the event stream is from an incompatible version.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class EventStreamVersionException _
    Inherits XEventException
'Usage
Dim instance As EventStreamVersionException
[SerializableAttribute]
public class EventStreamVersionException : XEventException
[SerializableAttribute]
public ref class EventStreamVersionException : public XEventException
[<SerializableAttribute>]
type EventStreamVersionException =  
    class 
        inherit XEventException 
    end
public class EventStreamVersionException extends XEventException

The EventStreamVersionException type exposes the following members.

Constructors

  Name Description
Public method EventStreamVersionException() Initializes a new instance of the EventStreamVersionException class with the default values.
Public method EventStreamVersionException(String) Initializes a new instance of the EventStreamVersionException class with a specified error message.
Protected method EventStreamVersionException(SerializationInfo, StreamingContext) Initializes a new instance of the EventStreamVersionException class with the specified serialization and context information.
Public method EventStreamVersionException(String, Exception) Initializes a new instance of the EventStreamVersionException class with a specified error message and a reference to the inner exception that is the cause of this 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