Dela via


EventLocationException Constructor (String)

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

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

Syntax

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

Dim instance As New EventLocationException(message)
public EventLocationException(
    string message
)
public:
EventLocationException(
    String^ message
)
new : 
        message:string -> EventLocationException
public function EventLocationException(
    message : String
)

Parameters

See Also

Reference

EventLocationException Class

EventLocationException Overload

Microsoft.SqlServer.XEvent.Linq Namespace