System.Management.Automatio ...


Pipeline Class
Represents a pipeline that can be used to invoke commands.


Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in system.management.automation.dll)
Usage

Dim instance As Pipeline
Syntax

Visual Basic
Public MustInherit Class Pipeline
    Implements IDisposable
C#
public abstract class Pipeline : IDisposable
C++
public ref class Pipeline abstract : IDisposable
J#
public abstract class Pipeline implements IDisposable
JScript
public abstract class Pipeline implements IDisposable
Example

For an example of applications that use this class, see:

Configuring a Runspace Using RunspaceConfiguration

Configuring a Runspace Using a PowerShell Snap-in

Remarks

Pipelines are created within the context of a runspace. Pipelines can be created using the following methods:

  • CreatePipeline: Overloaded method that can be used to create a pipeline or to create a pipeline with a valid command string.

  • CreateNestedPipeline: Overloaded method that can be used to create a nested pipeline or to create a nested pipeline with a valid command string.

You can derive from this class. However, there is no established scenario for doing this, nor has deriving from the class been tested.


Inheritance Hierarchy

System.Object
  System.Management.Automation.Runspaces.Pipeline
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
See Also

Page view tracker