指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用して、EventLocationException クラスの新しいインスタンスを初期化します。
名前空間: 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 EventLocationException(message, _
inner)
public EventLocationException(
string message,
Exception inner
)
public:
EventLocationException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> EventLocationException
public function EventLocationException(
message : String,
inner : Exception
)
パラメーター
- message
型: System.String
エラー メッセージ。
- inner
型: System.Exception
内部例外の参照。