次の方法で共有


EventFileInvalidException コンストラクター (String, Exception)

指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用して、EventFileInvalidException クラスの新しいインスタンスを初期化します。

名前空間:  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 名前空間