Ler en inglés Editar

Compartir por


BoundedChannelFullMode Enum

Definition

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.

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

Produto Versións
.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)