BlockingCollection<T>.IsCompleted 属性

定义

获取此 BlockingCollection<T> 是否已标记为完成添加并且为空。

public:
 property bool IsCompleted { bool get(); };
public bool IsCompleted { get; }
member this.IsCompleted : bool
Public ReadOnly Property IsCompleted As Boolean

属性值

此集合是否已标记为完成添加并且为空。

例外

适用于

另请参阅