Command.MergeMyResults(PipelineResultTypes, PipelineResultTypes) Command.MergeMyResults(PipelineResultTypes, PipelineResultTypes) Command.MergeMyResults(PipelineResultTypes, PipelineResultTypes) Command.MergeMyResults(PipelineResultTypes, PipelineResultTypes) Method

Definition

Merges this commands resutls

public:
 void MergeMyResults(System::Management::Automation::Runspaces::PipelineResultTypes myResult, System::Management::Automation::Runspaces::PipelineResultTypes toResult);
public void MergeMyResults (System.Management.Automation.Runspaces.PipelineResultTypes myResult, System.Management.Automation.Runspaces.PipelineResultTypes toResult);
member this.MergeMyResults : System.Management.Automation.Runspaces.PipelineResultTypes * System.Management.Automation.Runspaces.PipelineResultTypes -> unit
Public Sub MergeMyResults (myResult As PipelineResultTypes, toResult As PipelineResultTypes)

Parameters

toResult
PipelineResultTypes PipelineResultTypes PipelineResultTypes PipelineResultTypes

Pipeline stream in to which myResult is merged

Exceptions

myResult parameter is not PipelineResultTypes.Error or toResult parameter is not PipelineResultTypes.Output

Remarks

Currently only operation supported is to merge error of command to output of

command.

Applies to