共用方式為


FunctionWrongArgumentTypeException 建構函式 (String, String, String)

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

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Sub New ( _
    functionName As String, _
    receivedType As String, _
    expectedType As String _
)
'用途
Dim functionName As String 
Dim receivedType As String 
Dim expectedType As String 

Dim instance As New FunctionWrongArgumentTypeException(functionName, _
    receivedType, expectedType)
public FunctionWrongArgumentTypeException(
    string functionName,
    string receivedType,
    string expectedType
)
public:
FunctionWrongArgumentTypeException(
    String^ functionName, 
    String^ receivedType, 
    String^ expectedType
)
new : 
        functionName:string * 
        receivedType:string * 
        expectedType:string -> FunctionWrongArgumentTypeException
public function FunctionWrongArgumentTypeException(
    functionName : String, 
    receivedType : String, 
    expectedType : String
)

參數

  • functionName
    型別:System.String
    A String value that specifies the function that caused the exception.
  • receivedType
    型別:System.String
    A String value that specifies the type of argument that was received by the function.
  • expectedType
    型別:System.String
    A String value that specifies the type of argument that was expected by the function.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

處理 SMO 例外狀況

請參閱

參考

FunctionWrongArgumentTypeException 類別

FunctionWrongArgumentTypeException 多載

Microsoft.SqlServer.Management.Dmf 命名空間