BoundedChannelOptions(Int32) Konstruktor

Definition

Initialisiert die Optionen.

public:
 BoundedChannelOptions(int capacity);
public BoundedChannelOptions(int capacity);
new System.Threading.Channels.BoundedChannelOptions : int -> System.Threading.Channels.BoundedChannelOptions
Public Sub New (capacity As Integer)

Parameter

capacity
Int32

Die maximale Anzahl von Elementen, die der begrenzungsgebundene Kanal speichern kann.

Ausnahmen

capacity ist negativ.

Gilt für: