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. |
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de