RunspaceInvoke Class
Collapse the table of content
Expand the table of content

RunspaceInvoke Class

Allows the execution of commands from a CLR language.

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

Dim instance As RunspaceInvoke

public class RunspaceInvoke : IDisposable
public class RunspaceInvoke implements IDisposable
public class RunspaceInvoke implements IDisposable

When this class is used, the Windows PowerShell runtime builds all of the other data structures needed to open and close the runspace. However, this class cannot be used if the application needs to explicitly define a pipeline.


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

© 2015 Microsoft