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

指定された関数、受け取った型、および必要な型を持つ ExceptionAlreadyRegisteredException クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    functionName As String, _
    receivedCount As Integer, _
    expectedCount As Integer _
)
'使用
Dim functionName As String 
Dim receivedCount As Integer 
Dim expectedCount As Integer 

Dim instance As New FunctionWrongArgumentsNumberException(functionName, _
    receivedCount, expectedCount)
public FunctionWrongArgumentsNumberException(
    string functionName,
    int receivedCount,
    int expectedCount
)
public:
FunctionWrongArgumentsNumberException(
    String^ functionName, 
    int receivedCount, 
    int expectedCount
)
new : 
        functionName:string * 
        receivedCount:int * 
        expectedCount:int -> FunctionWrongArgumentsNumberException
public function FunctionWrongArgumentsNumberException(
    functionName : String, 
    receivedCount : int, 
    expectedCount : int
)

パラメーター

  • functionName
    型: System.String
    例外に関連付けられている関数の名前を示す String 値です。
  • receivedCount
    型: System.Int32
    関数が受け取った引数の数を示す Int32 値です。
  • expectedCount
    型: System.Int32
    関数が必要とする引数の数を示す Int32 値です。

説明

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

使用例

SMO 例外の処理

関連項目

参照

FunctionWrongArgumentsNumberException クラス

FunctionWrongArgumentsNumberException オーバーロード

Microsoft.SqlServer.Management.Dmf 名前空間