public abstract class ValueTaskSource<TResult> : DisposableObject,
IValueTaskSource<TResult>
Public MustInherit Class ValueTaskSource(Of TResult)
Inherits DisposableObject
Implements IValueTaskSource(Of TResult)
[<AbstractClassAttribute>]
type ValueTaskSource<'TResult> =
class
inherit DisposableObject
interface IValueTaskSource<'TResult>
end
ValueTaskSourceTResult | 初始化 ValueTaskSourceTResult 类的一个新实例 |
DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
ExceptionDispatchInfo | 获取异常分发信息。 |
Cancel | 取消操作。 |
Complete | 完成操作。 |
Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
Dispose(Boolean) |
处置资源
(重写 DisposableObjectDispose(Boolean)) |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetResult | 获取结果。 |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
Reset | 重置操作状态。 |
Scheduler | 调度继续操作。 |
SetException | 设置异常。 |
ThrowIfDisposed |
判断当前对象是否已经被释放。
如果已经被释放,则抛出ObjectDisposedException异常。
(继承自 DisposableObject。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
ValueWaitAsync | 值等待异步操作。 |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |
IValueTaskSourceTResultGetResult | 获取结果。 |
IValueTaskSourceTResultGetStatus | 获取状态。 |
IValueTaskSourceTResultOnCompleted | 操作完成时调用。 |