RunspaceMode Enum

Definition

Enumerated type defining runspace modes for nested pipeline.

C++
public enum class RunspaceMode
Inheritance
RunspaceMode

Fields

Name Value Description
CurrentRunspace 0

Use current runspace from the current thread of execution.

NewRunspace 1

Create new runspace.

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0