OperateResultConvertFailedT 方法 |
将当前的结果对象转换到指定泛型的结果类对象,直接返回指定泛型的失败结果类对象
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<T> ConvertFailed<T>()
Public Function ConvertFailed(Of T) As OperateResult(Of T)
public:
generic<typename T>
OperateResult<T>^ ConvertFailed()
member ConvertFailed : unit -> OperateResult<'T>
类型参数
- T
- 结果类型
返回值
类型:
OperateResultT最终失败的结果类对象
参见