Redigera

Dela via


BoundedChannelOptions(Int32) Constructor

Definition

Initializes the 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)

Parameters

capacity
Int32

The maximum number of items the bounded channel may store.

Applies to