共用方式為


EventFileInvalidException 建構函式 (String, Exception)

Initializes a new instance of the EventFileInvalidException class with 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 EventFileInvalidException(message, _
    inner)
public EventFileInvalidException(
    string message,
    Exception inner
)
public:
EventFileInvalidException(
    String^ message, 
    Exception^ inner
)
new : 
        message:string * 
        inner:Exception -> EventFileInvalidException
public function EventFileInvalidException(
    message : String, 
    inner : Exception
)

參數

請參閱

參考

EventFileInvalidException 類別

EventFileInvalidException 多載

Microsoft.SqlServer.XEvent.Linq 命名空間