BoundedChannelFullMode Enum

Definition

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

C#
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

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided), 2.1 (package-provided)