Runspace.CreateNestedPipeline Runspace.CreateNestedPipeline Runspace.CreateNestedPipeline Method

Definition

Overloads

CreateNestedPipeline(String, Boolean) CreateNestedPipeline(String, Boolean) CreateNestedPipeline(String, Boolean)

Creates a nested pipeline.

CreateNestedPipeline() CreateNestedPipeline() CreateNestedPipeline()

Creates a nested pipeline.

CreateNestedPipeline(String, Boolean) CreateNestedPipeline(String, Boolean) CreateNestedPipeline(String, Boolean)

Creates a nested pipeline.

public abstract System.Management.Automation.Runspaces.Pipeline CreateNestedPipeline (string command, bool addToHistory);
abstract member CreateNestedPipeline : string * bool -> System.Management.Automation.Runspaces.Pipeline
Public MustOverride Function CreateNestedPipeline (command As String, addToHistory As Boolean) As Pipeline
Parameters
command
String String String

A valid command string

addToHistory
Boolean Boolean Boolean

if true command is added to history

Returns

A pipeline pre-filled with Command specified in commandString.

Exceptions

CreateNestedPipeline() CreateNestedPipeline() CreateNestedPipeline()

Creates a nested pipeline.

public abstract System.Management.Automation.Runspaces.Pipeline CreateNestedPipeline ();
abstract member CreateNestedPipeline : unit -> System.Management.Automation.Runspaces.Pipeline
Public MustOverride Function CreateNestedPipeline () As Pipeline
Returns

Remarks

Nested pipelines are needed for nested prompt scenario. Nested
prompt requires that we execute new pipelines( child pipelines)
while current pipeline (lets call it parent pipeline) is blocked.

Applies to