XEventException Constructor (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.

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 XEventException(message, _
    inner)
public XEventException(
    string message,
    Exception inner
)
public:
XEventException(
    String^ message, 
    Exception^ inner
)
new : 
        message:string * 
        inner:Exception -> XEventException
public function XEventException(
    message : String, 
    inner : Exception
)

Parameters

See Also

Reference

XEventException Class

XEventException Overload

Microsoft.SqlServer.XEvent.Linq Namespace