Constructeur FunctionWrongArgumentsNumberException (String, Int32, Int32)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified function, received and expected types.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    functionName As String, _
    receivedCount As Integer, _
    expectedCount As Integer _
)
'Utilisation
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
)

Paramètres

  • receivedCount
    Type : System. . :: . .Int32
    An Int32 value that specifies the number of arguments that are received by the function.
  • expectedCount
    Type : System. . :: . .Int32
    A Int32 value that specifies the number of arguments that are expected by the function.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.