Freigeben über


FunctionWrongReturnTypeException-Konstruktor (String, String, String)

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

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

Syntax

'Declaration
Public Sub New ( _
    functionName As String, _
    receivedType As String, _
    expectedType As String _
)
'Usage
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
)

Parameter

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

FunctionWrongReturnTypeException Klasse

FunctionWrongReturnTypeException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace