Compartir a través de


FunctionWrongReturnTypeException Constructor (String, String, String)

Initializes a new instance of the ExceptionAlreadyRegisteredException class with the specified function, expected return type and actual return type.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Public Sub New ( _
    functionName As String, _
    receivedType As String, _
    expectedType As String _
)
'Uso
Dim functionName As String 
Dim receivedType As String 
Dim expectedType As String 

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

Parámetros

  • functionName
    Tipo: System.String
    A String value that specifies the function that caused the exception.
  • receivedType
    Tipo: System.String
    A String value that specifies the type that is returned by the function.
  • expectedType
    Tipo: System.String
    A String value that specifies the type that is expected to be returned by the function.

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

FunctionWrongReturnTypeException Clase

Sobrecarga de FunctionWrongReturnTypeException

Espacio de nombres Microsoft.SqlServer.Management.Dmf