PSDataCollection<T>.BlockingEnumerator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the data collection should have a blocking enumerator by default. Currently only when a PowerShell object is associated with the data collection, a reference count is added which causes the enumerator to be blocking. This prevents the use of PSDataCollection without a PowerShell object. This property fixes the same.
public:
property bool BlockingEnumerator { bool get(); void set(bool value); };
public:
property bool BlockingEnumerator { bool get(); void set(bool value); };
public bool BlockingEnumerator { get; set; }
member this.BlockingEnumerator : bool with get, set
Public Property BlockingEnumerator As Boolean