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 버전에서만 지원됩니다.

SMO 예외 처리

참고 항목

참조

FunctionWrongArgumentsNumberException 클래스

FunctionWrongArgumentsNumberException 오버로드

Microsoft.SqlServer.Management.Dmf 네임스페이스