EventLocationException 构造函数 (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.

命名空间:  Microsoft.SqlServer.XEvent.Linq
程序集:  Microsoft.SqlServer.XEvent.Linq(在 Microsoft.SqlServer.XEvent.Linq.dll 中)

语法

声明
Public Sub New ( _
    message As String, _
    inner As Exception _
)
用法
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
)

参数

请参阅

参考

EventLocationException 类

EventLocationException 重载

Microsoft.SqlServer.XEvent.Linq 命名空间