指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用して、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
)
パラメーター
- message
型: System.String
エラー メッセージ。
- inner
型: System.Exception
内部例外。