FunctionWrongArgumentTypeException Constructor (String, String, String)

 

Initializes a new instance of the T:Microsoft.SqlServer.Management.Dmf. ExceptionAlreadyRegisteredException class that has the specified function, and received and expected types.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

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 Sub New (
    functionName As String,
    receivedType As String,
    expectedType As String
)

Parameters

  • functionName
    Type: System.String

    A String value that specifies the function that caused the exception.

  • receivedType
    Type: System.String

    A String value that specifies the type of argument that was received by the function.

  • expectedType
    Type: System.String

    A String value that specifies the type of argument that was expected by the function.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

FunctionWrongArgumentTypeException Overload
FunctionWrongArgumentTypeException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top