public class AsyncBoundedQueue<T> : ValueTaskSource<T>
Public Class AsyncBoundedQueue(Of T)
Inherits ValueTaskSource(Of T)
type AsyncBoundedQueue<'T> =
class
inherit ValueTaskSource<'T>
end
AsyncBoundedQueueT | 构造函数,初始化有界队列。 |
DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
ExceptionDispatchInfo |
获取异常分发信息。
(继承自 ValueTaskSourceTResult。) |
Cancel |
取消操作。
(继承自 ValueTaskSourceTResult。) |
Complete |
完成操作。
(继承自 ValueTaskSourceTResult。) |
DequeueAsync | 异步取出队列中的一个元素。 |
Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
Dispose(Boolean) |
处置资源
(继承自 ValueTaskSourceTResult。) |
EnqueueAsync | 异步向队列中添加一个元素。 |
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 |
从队列中取出一个元素并返回。
(重写 ValueTaskSourceTResultGetResult) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
Reset |
重置操作状态。
(继承自 ValueTaskSourceTResult。) |
Scheduler |
执行调度操作,直接执行给定的操作。
(重写 ValueTaskSourceTResultScheduler(ActionObject, Object)) |
SetException |
设置异常。
(继承自 ValueTaskSourceTResult。) |
ThrowIfDisposed |
判断当前对象是否已经被释放。
如果已经被释放,则抛出ObjectDisposedException异常。
(继承自 DisposableObject。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
ValueWaitAsync |
值等待异步操作。
(继承自 ValueTaskSourceTResult。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |