Udostępnij przez


Konstruktor FunctionWrongArgumentsNumberException (String, Int32, Int32)

Inicjuje nowe wystąpienie ExceptionAlreadyRegisteredException klasy ma określoną funkcja otrzymane i oczekiwanych typów.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Syntax

'Deklaracja
Public Sub New ( _
    functionName As String, _
    receivedCount As Integer, _
    expectedCount As Integer _
)
'Użycie
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
)

Parameters

  • expectedCount
    Typ: System. . :: . .Int32
    A Int32 wartość określająca liczbę argumentów, które są oczekiwane przez funkcja.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.