EventEnumerationException Constructors

Definition

Initializes a new instance of the EventEnumerationException class.

Overloads

EventEnumerationException()

Initializes a new instance of the EventEnumerationException using default values.

EventEnumerationException(String)

Initializes a new instance of the EventEnumerationException class with specified message.

EventEnumerationException(SerializationInfo, StreamingContext)

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

EventEnumerationException(String, Exception)

Initializes a new instance of the EventEnumerationException class with specified message and inner exception.

EventEnumerationException()

Initializes a new instance of the EventEnumerationException using default values.

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

Applies to

EventEnumerationException(String)

Initializes a new instance of the EventEnumerationException class with specified message.

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

Parameters

message
String

The exception message.

Applies to

EventEnumerationException(SerializationInfo, StreamingContext)

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

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

Parameters

info
SerializationInfo

The information about the exception.

context
StreamingContext

The context.

Applies to

EventEnumerationException(String, Exception)

Initializes a new instance of the EventEnumerationException class with specified message and inner exception.

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

Parameters

message
String

The message exception.

inner
Exception

The inner exception.

Applies to