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 版支援此命名空間、類別或成員。
範例
請參閱
參考
FunctionWrongArgumentsNumberException 類別