Konstruktor FunctionWrongReturnTypeException (String, String, String)
Inicjuje nowe wystąpienie ExceptionAlreadyRegisteredException klasy z określonych funkcja, zwracany typ przewidywany i rzeczywisty typ zwrotu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Dmf
Zestaw: Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)
Składnia
'Deklaracja
Public Sub New ( _
functionName As String, _
receivedType As String, _
expectedType As String _
)
'Użycie
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
)
Parametry
- functionName
Typ: System.String
A String wartość, która określa funkcja, która spowodowała wyjątek.
- receivedType
Typ: System.String
A String wartość, która określa typ, który jest zwracany przez funkcja.
- expectedType
Typ: System.String
A String wartość, która określa typ, zgodnie z oczekiwaniami zwracane przez funkcja.
Uwagi
Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.