OperateResultConvertFailedT1, T2 方法 |
将当前的结果对象转换到指定泛型的结果类对象,直接返回指定泛型的失败结果类对象
Convert the current result object to the result class object of the specified generic type,
and directly return the result class object of the specified generic type failure
命名空间:
HslCommunication
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<T1, T2> ConvertFailed<T1, T2>()
Public Function ConvertFailed(Of T1, T2) As OperateResult(Of T1, T2)
public:
generic<typename T1, typename T2>
OperateResult<T1, T2>^ ConvertFailed()
member ConvertFailed : unit -> OperateResult<'T1, 'T2>
类型参数
- T1
- 泛型参数一
- T2
- 泛型参数二
返回值
类型:
OperateResultT1,
T2最终失败的结果类对象
参见