FunctionWrongArgumentsNumberException 构造函数 (String, Int32, Int32)

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

命名空间:  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
    A String value that specifies the name of the function that is associated with the exception.
  • receivedCount
    类型:System. . :: . .Int32
    An Int32 value that specifies the number of arguments that are received by the function.
  • expectedCount
    类型:System. . :: . .Int32
    A Int32 value that specifies the number of arguments that are expected by the function.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。