BoundedChannelOptions(Int32) Constructeur

Définition

Initialise les options.

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

Paramètres

capacity
Int32

Le nombre maximal d’éléments que le canal délimité peut stocker.

Exceptions

capacity est négatif.

S’applique à