Share via


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

指定した接続コンテキスト モードとこの例外の原因となった内部例外への参照を使用して、SfcInvalidConnectionContextModeChangeException クラスの新しいインスタンスを初期化します。 このメンバーをコード内で直接参照しないでください。このメンバーは、SQL Server インフラストラクチャをサポートしています。

名前空間:  Microsoft.SqlServer.Management.Sdk.Sfc
アセンブリ:  Microsoft.SqlServer.Management.Sdk.Sfc (Microsoft.SqlServer.Management.Sdk.Sfc.dll)

構文

'宣言
Public Sub New ( _
    fromMode As String, _
    toMode As String, _
    innerException As Exception _
)
'使用
Dim fromMode As String 
Dim toMode As String 
Dim innerException As Exception 

Dim instance As New SfcInvalidConnectionContextModeChangeException(fromMode, _
    toMode, innerException)
public SfcInvalidConnectionContextModeChangeException(
    string fromMode,
    string toMode,
    Exception innerException
)
public:
SfcInvalidConnectionContextModeChangeException(
    String^ fromMode, 
    String^ toMode, 
    Exception^ innerException
)
new : 
        fromMode:string * 
        toMode:string * 
        innerException:Exception -> SfcInvalidConnectionContextModeChangeException
public function SfcInvalidConnectionContextModeChangeException(
    fromMode : String, 
    toMode : String, 
    innerException : Exception
)

パラメーター

  • fromMode
    型: System.String
    元の接続コンテキスト モードです。
  • toMode
    型: System.String
    新しい接続コンテキスト モードです。
  • innerException
    型: System.Exception
    現在の例外の原因になった例外。

関連項目

参照

SfcInvalidConnectionContextModeChangeException クラス

SfcInvalidConnectionContextModeChangeException オーバーロード

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間