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 命名空间