Share via


BadExpressionTreeException コンストラクター (String)

指定した理由を持つ BadExpressionTreeException クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    reason As String _
)
'使用
Dim reason As String 

Dim instance As New BadExpressionTreeException(reason)
public BadExpressionTreeException(
    string reason
)
public:
BadExpressionTreeException(
    String^ reason
)
new : 
        reason:string -> BadExpressionTreeException
public function BadExpressionTreeException(
    reason : String
)

パラメーター

  • reason
    型: System.String
    例外の原因になったイベントを表す理由を指定する String 値です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

使用例

SMO 例外の処理

関連項目

参照

BadExpressionTreeException クラス

BadExpressionTreeException オーバーロード

Microsoft.SqlServer.Management.Dmf 名前空間