EventStreamVersionException Constructors

Definition

Initializes a new instance of the EventStreamVersionException class.

Overloads

EventStreamVersionException()

Initializes a new instance of the EventStreamVersionException class with the default values.

EventStreamVersionException(String)

Initializes a new instance of the EventStreamVersionException class with a specified error message.

EventStreamVersionException(SerializationInfo, StreamingContext)

Initializes a new instance of the EventStreamVersionException class with the specified serialization and context information.

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.

EventStreamVersionException()

Initializes a new instance of the EventStreamVersionException class with the default values.

public:
 EventStreamVersionException();
public EventStreamVersionException ();
Public Sub New ()

Applies to

EventStreamVersionException(String)

Initializes a new instance of the EventStreamVersionException class with a specified error message.

public:
 EventStreamVersionException(System::String ^ message);
public EventStreamVersionException (string message);
new Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException : string -> Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException
Public Sub New (message As String)

Parameters

message
String

The error message.

Applies to

EventStreamVersionException(SerializationInfo, StreamingContext)

Initializes a new instance of the EventStreamVersionException class with the specified serialization and context information.

protected:
 EventStreamVersionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EventStreamVersionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

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.

public:
 EventStreamVersionException(System::String ^ message, Exception ^ inner);
public EventStreamVersionException (string message, Exception inner);
new Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException : string * Exception -> Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The error message.

inner
Exception

The inner exception.

Applies to