Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

BoundedChannelFullMode Enum

Definition

Namespace:
System.Threading.Channels
Assembly:
System.Threading.Channels.dll
Package:
System.Threading.Channels v11.0.0-preview.5.26302.115
Source:
BoundedChannelFullMode.cs
Source:
BoundedChannelFullMode.cs
Source:
BoundedChannelFullMode.cs
Source:
SingleProducerSingleConsumerQueue.cs

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.

Specifies the behavior to use when writing to a bounded channel that is already full.

public enum class BoundedChannelFullMode
public enum BoundedChannelFullMode
type BoundedChannelFullMode = 
Public Enum BoundedChannelFullMode
Inheritance
BoundedChannelFullMode

Fields

Name Value Description
Wait 0

Waits for space to be available in order to complete the write operation.

DropNewest 1

Removes and ignores the newest item in the channel in order to make room for the item being written.

DropOldest 2

Removes and ignores the oldest item in the channel in order to make room for the item being written.

DropWrite 3

Drops the item being written.

Applies to


Feedback

Was this page helpful?