次の方法で共有


SqlTraceException コンストラクター

定義

SqlTraceException クラスの新しいインスタンスを初期化します。

オーバーロード

SqlTraceException()

SqlTraceException クラスの新しいインスタンスを初期化します。

SqlTraceException(String)

指定したメッセージを使用して、SqlTraceException クラスの新しいインスタンスを初期化します。

SqlTraceException(SerializationInfo, StreamingContext)

指定したシリアル化情報と指定したストリーム コンテキストを使用して、SqlTraceException クラスの新しいインスタンスを初期化します。

SqlTraceException(String, Exception)

指定したメッセージと内部例外を使用して、SqlTraceException クラスの新しいインスタンスを初期化します。

SqlTraceException(Type, String)

指定したソースの種類と指定したメッセージを使用して SqlTraceException クラスの新しいインスタンスを初期化します。

SqlTraceException(Type, String, Exception)

指定したソースの種類、メッセージおよび内部例外を使用して SqlTraceException クラスの新しいインスタンスを初期化します。

SqlTraceException()

SqlTraceException クラスの新しいインスタンスを初期化します。

public:
 SqlTraceException();
public SqlTraceException ();
Public Sub New ()

SMO 例外の処理

適用対象

SqlTraceException(String)

指定したメッセージを使用して、SqlTraceException クラスの新しいインスタンスを初期化します。

public:
 SqlTraceException(System::String ^ message);
public SqlTraceException (string message);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : string -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (message As String)

パラメーター

message
String

一般的な SQL トレースの例外と関連付けられたメッセージを示す String 値です。

SMO 例外の処理

適用対象

SqlTraceException(SerializationInfo, StreamingContext)

指定したシリアル化情報と指定したストリーム コンテキストを使用して、SqlTraceException クラスの新しいインスタンスを初期化します。

protected:
 SqlTraceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SqlTraceException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

SQL トレースの例外のシリアル化情報を示す SerializationInfo オブジェクトの値です。

context
StreamingContext

SQL トレースの例外のストリーム コンテキストを示す StreamingContext オブジェクトの値です。

SMO 例外の処理

適用対象

SqlTraceException(String, Exception)

指定したメッセージと内部例外を使用して、SqlTraceException クラスの新しいインスタンスを初期化します。

public:
 SqlTraceException(System::String ^ message, Exception ^ innerException);
public SqlTraceException (string message, Exception innerException);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : string * Exception -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

一般的な SQL トレースの例外と関連付けられたメッセージを示す String 値です。

innerException
Exception

SQL トレースの例外の内部例外を示す Exception オブジェクトの値です。

SMO 例外の処理

適用対象

SqlTraceException(Type, String)

指定したソースの種類と指定したメッセージを使用して SqlTraceException クラスの新しいインスタンスを初期化します。

public:
 SqlTraceException(Type ^ messageSource, System::String ^ messageID);
public SqlTraceException (Type messageSource, string messageID);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : Type * string -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (messageSource As Type, messageID As String)

パラメーター

messageSource
Type

例外のソースを示す Type システム オブジェクトの値です。

messageID
String

一般的な SQL トレースの例外と関連付けられたメッセージを示す String 値です。

SMO 例外の処理

適用対象

SqlTraceException(Type, String, Exception)

指定したソースの種類、メッセージおよび内部例外を使用して SqlTraceException クラスの新しいインスタンスを初期化します。

public:
 SqlTraceException(Type ^ messageSource, System::String ^ messageID, Exception ^ innerException);
public SqlTraceException (Type messageSource, string messageID, Exception innerException);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : Type * string * Exception -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (messageSource As Type, messageID As String, innerException As Exception)

パラメーター

messageSource
Type

例外のソースを示す Type システム オブジェクトの値です。

messageID
String

一般的な SQL トレースの例外と関連付けられたメッセージを示す String 値です。

innerException
Exception

内部例外を示す Exception オブジェクトの値です。

SMO 例外の処理

適用対象