EventStreamException 构造函数 (String, Exception)

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
)

参数

请参阅

参考

EventStreamException 类

EventStreamException 重载

Microsoft.SqlServer.XEvent.Linq 命名空间