System.Threading.Channels Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a set of synchronization data structures for passing data between producers and consumers asynchronously.
Classes
BoundedChannelOptions |
Provides options that control the behavior of bounded Channel<T> instances. |
Channel |
Provides static methods for creating channels. |
Channel<T> |
Provides a base class for channels that support reading and writing elements of type |
Channel<TWrite,TRead> |
Provides a base class for channels that support reading elements of type |
ChannelClosedException |
Exception thrown when a channel is used after it's been closed. |
ChannelOptions |
Provides options that control the behavior of channel instances. |
ChannelReader<T> |
Provides a base class for reading from a channel. |
ChannelWriter<T> |
Provides a base class for writing to a channel. |
UnboundedChannelOptions |
Provides options that control the behavior of unbounded Channel<T> instances. |
UnboundedPrioritizedChannelOptions<T> |
Enums
BoundedChannelFullMode |
Specifies the behavior to use when writing to a bounded channel that is already full. |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈