Compartir a través de


FunctionWrongArgumentsNumberException Constructor (String, Int32, Int32)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Public Sub New ( _
    functionName As String, _
    receivedCount As Integer, _
    expectedCount As Integer _
)
'Uso
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
)

Parámetros

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

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.