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)
'Usage
Dim instance As RunspaceConfigurationEntryCollection(Of T)

[DefaultMemberAttribute(L"Item")] 
generic<typename T> where T : RunspaceConfigurationEntry
public ref class RunspaceConfigurationEntryCollection sealed : IEnumerable<T>, IEnumerable

GenericParameters

T

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.


System.Object
  System.Management.Automation.Runspaces.RunspaceConfigurationEntryCollection
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.
Show:
© 2014 Microsoft. All rights reserved.