Конструктор FunctionWrongReturnTypeException (String, String, String)

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

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
Public Sub New ( _
    functionName As String, _
    receivedType As String, _
    expectedType As String _
)
'Применение
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
)

Параметры

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

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Примеры

Обработка исключений SMO

См. также

Справочник

FunctionWrongReturnTypeException Класс

Перегрузка FunctionWrongReturnTypeException

Пространство имен Microsoft.SqlServer.Management.Dmf