ActionBlock<TInput>.InputCount 属性

定义

获取等待被此代码块处理的输入项的数目。Gets the number of input items waiting to be processed by this block.

public:
 property int InputCount { int get(); };
public int InputCount { get; }
member this.InputCount : int
Public ReadOnly Property InputCount As Integer

属性值

Int32

等待被此代码块处理的输入项的数目。The number of input items waiting to be processed by this block.

注解

InputCount 包括当前正在由块处理的任何项或已被该块处理的任何项。The InputCount does not include any items that are currently being processed by the block or any items that have already been processed by the block.

适用于