BoundedChannelOptions(Int32) Konstruktor

Definition

Initierar alternativen.

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

Parametrar

capacity
Int32

Det maximala antalet objekt som den avgränsade kanalen kan lagra.

Undantag

capacity är negativ.

Gäller för