SqlTraceException Constructor (Type, String, Exception)
指定したソースの種類、メッセージおよび内部例外を使用して SQLTraceException クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Management.Trace
アセンブリ: Microsoft.SqlServer.ConnectionInfo (microsoft.sqlserver.connectioninfo.dll 内)
構文
'宣言
Public Sub New ( _
messageSource As Type, _
messageID As String, _
innerException As Exception _
)
public SqlTraceException (
Type messageSource,
string messageID,
Exception innerException
)
public:
SqlTraceException (
Type^ messageSource,
String^ messageID,
Exception^ innerException
)
public SqlTraceException (
Type messageSource,
String messageID,
Exception innerException
)
public function SqlTraceException (
messageSource : Type,
messageID : String,
innerException : Exception
)
パラメータ
- messageSource
例外のソースを示す Type システム オブジェクトの値です。
- messageID
- innerException
内部例外を示す Exception オブジェクトの値です。
解説
この名前空間、クラス、またはメンバは、Microsoft .NET Framework 2.0 でのみサポートされています。
使用例
Visual Basic .NET で例外をキャッチする方法
プラットフォーム
開発プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
対象プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
参照
関連項目
SqlTraceException Class
SqlTraceException Members
Microsoft.SqlServer.Management.Trace Namespace