Dela via


EventLocationException Constructor (String, Exception)

Initializes a new instance of the EventLocationException class with specified error message and a reference to the inner exception that is the cause of the 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 EventLocationException(message, _
    inner)
public EventLocationException(
    string message,
    Exception inner
)
public:
EventLocationException(
    String^ message, 
    Exception^ inner
)
new : 
        message:string * 
        inner:Exception -> EventLocationException
public function EventLocationException(
    message : String, 
    inner : Exception
)

Parameters

See Also

Reference

EventLocationException Class

EventLocationException Overload

Microsoft.SqlServer.XEvent.Linq Namespace