RunspaceFactory.CreateOutOfProcessRunspace Method

Definition

Overloads

CreateOutOfProcessRunspace(TypeTable)

Creates an out-of-process remote Runspace.

CreateOutOfProcessRunspace(TypeTable, PowerShellProcessInstance)

Creates an out-of-process remote Runspace.

CreateOutOfProcessRunspace(TypeTable)

Creates an out-of-process remote Runspace.

public:
 static System::Management::Automation::Runspaces::Runspace ^ CreateOutOfProcessRunspace(System::Management::Automation::Runspaces::TypeTable ^ typeTable);
public static System.Management.Automation.Runspaces.Runspace CreateOutOfProcessRunspace (System.Management.Automation.Runspaces.TypeTable typeTable);
static member CreateOutOfProcessRunspace : System.Management.Automation.Runspaces.TypeTable -> System.Management.Automation.Runspaces.Runspace
Public Shared Function CreateOutOfProcessRunspace (typeTable As TypeTable) As Runspace

Parameters

typeTable
TypeTable

The TypeTable to use while deserializing/serializing remote objects. TypeTable has the following information used by serializer:

  1. SerializationMethod
  2. SerializationDepth
  3. SpecificSerializationProperties

TypeTable has the following information used by deserializer:

  1. TargetTypeForDeserialization
  2. TypeConverter

Returns

An out-of-process remote Runspace.

Applies to

CreateOutOfProcessRunspace(TypeTable, PowerShellProcessInstance)

Creates an out-of-process remote Runspace.

public:
 static System::Management::Automation::Runspaces::Runspace ^ CreateOutOfProcessRunspace(System::Management::Automation::Runspaces::TypeTable ^ typeTable, System::Management::Automation::Runspaces::PowerShellProcessInstance ^ processInstance);
public static System.Management.Automation.Runspaces.Runspace CreateOutOfProcessRunspace (System.Management.Automation.Runspaces.TypeTable typeTable, System.Management.Automation.Runspaces.PowerShellProcessInstance processInstance);
static member CreateOutOfProcessRunspace : System.Management.Automation.Runspaces.TypeTable * System.Management.Automation.Runspaces.PowerShellProcessInstance -> System.Management.Automation.Runspaces.Runspace
Public Shared Function CreateOutOfProcessRunspace (typeTable As TypeTable, processInstance As PowerShellProcessInstance) As Runspace

Parameters

typeTable
TypeTable

The TypeTable to use while deserializing/serializing remote objects. TypeTable has the following information used by serializer:

  1. SerializationMethod
  2. SerializationDepth
  3. SpecificSerializationProperties

TypeTable has the following information used by deserializer:

  1. TargetTypeForDeserialization
  2. TypeConverter
processInstance
PowerShellProcessInstance

It represents a PowerShell process that is used for an out-of-process remote Runspace

Returns

An out-of-process remote Runspace.

Applies to