Прочетете на английски Редактиране

Споделяне чрез


DataflowBlockOptions.BoundedCapacity Property

Definition

Gets or sets the maximum number of messages that may be buffered by the block.

C#
public int BoundedCapacity { get; set; }

Property Value

The maximum number of messages. The default is -1, which indicates an unlimited number of messages.

Applies to

Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, 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)
UWP 10.0