Dim instance As RunspaceInvoke
Public Class RunspaceInvoke Implements IDisposable
public class RunspaceInvoke : IDisposable
public ref class RunspaceInvoke : IDisposable
public class RunspaceInvoke implements IDisposable
For an example of applications that use this class, see the following topics:
Creating a Console Application that Runs a Specified Command.
Creating a Console Application that Runs a Specified Script.
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.