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 版支援此命名空間、類別或成員。
範例
請參閱
參考
FunctionWrongReturnTypeException 類別