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. |
Enums
BoundedChannelFullMode |
Specifies the behavior to use when writing to a bounded channel that is already full. |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應