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
)
参数
- message
类型:System.String
The error message.
- inner
类型:System.Exception
The reference to the inner exception.