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

指定された関数、想定される戻り値の型、および実際の戻り値の型を使用して、ExceptionAlreadyRegisteredException クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    functionName As String, _
    receivedType As String, _
    expectedType As String _
)
'使用
Dim functionName As String 
Dim receivedType As String 
Dim expectedType As String 

Dim instance As New FunctionWrongReturnTypeException(functionName, _
    receivedType, expectedType)
public FunctionWrongReturnTypeException(
    string functionName,
    string receivedType,
    string expectedType
)
public:
FunctionWrongReturnTypeException(
    String^ functionName, 
    String^ receivedType, 
    String^ expectedType
)
new : 
        functionName:string * 
        receivedType:string * 
        expectedType:string -> FunctionWrongReturnTypeException
public function FunctionWrongReturnTypeException(
    functionName : String, 
    receivedType : String, 
    expectedType : String
)

パラメーター

  • functionName
    型: System.String
    例外の原因になった関数を示す String 値です。
  • receivedType
    型: System.String
    関数によって返される型を示す String 値です。
  • expectedType
    型: System.String
    関数によって返されることが想定されている型を示す String 値です。

説明

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

使用例

SMO 例外の処理

関連項目

参照

FunctionWrongReturnTypeException クラス

FunctionWrongReturnTypeException オーバーロード

Microsoft.SqlServer.Management.Dmf 名前空間