RunspaceConfigurationEntryCollection Generic Class

Represents a collection of runspace configuration entries. This class cannot be inherited.

Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As RunspaceConfigurationEntryCollection(Of T)

public sealed class RunspaceConfigurationEntryCollection<T> : IEnumerable<T>, IEnumerable where T : RunspaceConfigurationEntry



The type parameter that represents the items in the collection. This type parameter must be convertible to a RunspaceConfigurationEntry.

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.


Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft