Constructeur FunctionWrongArgumentTypeException (String, String, String)

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    functionName As String, _
    receivedType As String, _
    expectedType As String _
)
'Utilisation
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
)

Paramètres

  • 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.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

FunctionWrongArgumentTypeException Classe

Surcharge FunctionWrongArgumentTypeException

Espace de noms Microsoft.SqlServer.Management.Dmf