Updated: April 27, 2016
Applies To: Windows PowerShell
Represents a collection of runspace configuration entries. This class cannot be inherited.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
generic<typename T> where T : RunspaceConfigurationEntry public ref class RunspaceConfigurationEntryCollection sealed : IEnumerable<T>, IEnumerable
The type parameter that represents the items in the collection. This type parameter must be convertible to a RunspaceConfigurationEntry.
Initializes a new instance of theclass that is empty.
Initializes a new instance of theclass that contains configuration entries.
Adds a single item at the back of the collection.
Adds multiple items to the back of the collection.
Adds a single item to the front of the collection.
Adds multiple items to the front of the collection.
Removes a single item from the collection.
Removes multiple items from the collection.
Resets the items in the collection.
Updates the runspaces that are using this configuration with the revised collection.
This collection provides the following features for managing multiple runspaces.
Synchronization. Since multiple runspaces may be sharing the same runspace configuration, it is essential that all the configuration entry collections (for cmdlets, providers, assemblies, types, formats) are thread-safe.
Updating the Collection. The data for types and formats are order sensitive. It is required for supporting adding and removing from the beginning and the ending of the list.
Updating Components. Updated data needs to be communicated to other Windows PowerShell components. For example, if the configuration list for cmdlets and providers is updated, the change has to be communicated to the Windows PowerShell runtime.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.