RunspaceFactory.CreateOutOfProcessRunspace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
- SerializationMethod
- SerializationDepth
- SpecificSerializationProperties
TypeTable has the following information used by deserializer:
- TargetTypeForDeserialization
- 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:
- SerializationMethod
- SerializationDepth
- SpecificSerializationProperties
TypeTable has the following information used by deserializer:
- TargetTypeForDeserialization
- 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.