Delen via


Pipeline.Error Property

Definition

Gets the error output reader for this pipeline.

public:
 abstract property System::Management::Automation::Runspaces::PipelineReader<System::Object ^> ^ Error { System::Management::Automation::Runspaces::PipelineReader<System::Object ^> ^ get(); };
public abstract System.Management.Automation.Runspaces.PipelineReader<object> Error { get; }
member this.Error : System.Management.Automation.Runspaces.PipelineReader<obj>
Public MustOverride ReadOnly Property Error As PipelineReader(Of Object)

Property Value

Remarks

When the caller calls Error.Read(), the caller reads from the output of the pipeline. Thus, Error is a PipelineReader or "thing which can be read from".

This is the non-terminating error stream from the command. In this release, the objects read from this PipelineReader are PSObjects wrapping ErrorRecords.

Applies to