Initializes a new instance of the EventStreamException class with a specified error message and a reference to the inner exception that is the cause of this 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 EventStreamException(message, _
inner)
public EventStreamException(
string message,
Exception inner
)
public:
EventStreamException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> EventStreamException
public function EventStreamException(
message : String,
inner : Exception
)
参数
- message
类型:System.String
The error message.
- inner
类型:System.Exception
The inner exception.