Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RunspaceInvoke Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Allows the execution of commands from a CLR language.

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

System.Object
  System.Management.Automation.RunspaceInvoke

Public Class RunspaceInvoke
	Implements IDisposable

NameDescription
System_CAPS_pubmethodRunspaceInvoke()

Initializes a new instance of the RunspaceInvoke class that contains the default snap-ins.

System_CAPS_pubmethodRunspaceInvoke(Runspace)

Initializes a new instance of the RunspaceInvoke class that contains a runspace object.

System_CAPS_pubmethodRunspaceInvoke(RunspaceConfiguration)

Initializes a new instance of the RunspaceInvoke class that contains the specified runspace configuration.

System_CAPS_pubmethodRunspaceInvoke(String)

Initializes a new instance of the RunspaceInvoke class that contains information provided by a console file.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources that are used by the RunspaceInvoke object.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources that are used by the RunspaceInvoke object and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInvoke(String)

Invokes the command from a script.

System_CAPS_pubmethodInvoke(String, IEnumerable)

Invokes the command from a script along with input needed to invoke the command.

System_CAPS_pubmethodInvoke(String, IEnumerable, IList)

Invokes the command from a script along with input and errors needed to invoke the command.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Return to top
Show: