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 类