次の方法で共有


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

指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用して、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
)

パラメーター

関連項目

参照

EventLocationException クラス

EventLocationException オーバーロード

Microsoft.SqlServer.XEvent.Linq 名前空間