PSJobProxy.Create Method (RunspacePool, Hashtable, Boolean)
Creates a collection of job proxies to interact with jobs that are filtered from a runspace pool, with the option to start the data streaming immediately.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
public static ICollection<PSJobProxy> Create ( RunspacePool runspacePool, Hashtable filter, bool receiveImmediately )
public static ICollection<PSJobProxy> Create ( RunspacePool runspacePool, Hashtable filter, boolean receiveImmediately )
public static function Create ( runspacePool : RunspacePool, filter : Hashtable, receiveImmediately : boolean ) : ICollection<PSJobProxy>
Parameters
- runspacePool
The runspace pool that contains the jobs to base the proxy on.
- filter
The hash table to use with the
–Filter< Hashtable > parameter of the Get-Job cmdlet.
- receiveImmediately
true to start the data streaming immediately; false to require the user to call ReceiveJob to start data streaming.
Return Value
A ICollection of type PSJobProxy.
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 Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.