Share via


EventFileInvalidException Constructor (String, Exception)

Initializes a new instance of the EventFileInvalidException class with specified error message and a reference to the inner exception that is the cause of this exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    inner As Exception _
)
'Usage
Dim message As String 
Dim inner As Exception 

Dim instance As New EventFileInvalidException(message, _
    inner)
public EventFileInvalidException(
    string message,
    Exception inner
)
public:
EventFileInvalidException(
    String^ message, 
    Exception^ inner
)
new : 
        message:string * 
        inner:Exception -> EventFileInvalidException
public function EventFileInvalidException(
    message : String, 
    inner : Exception
)

Parameters

See Also

Reference

EventFileInvalidException Class

EventFileInvalidException Overload

Microsoft.SqlServer.XEvent.Linq Namespace