Share via


PSDataCollection<T>.BlockingEnumerator Property

Definition

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

Property Value

Applies to