다음을 통해 공유


PSDataStreams Class

Definition

Streams generated by PowerShell invocations.

public ref class PSDataStreams sealed
public sealed class PSDataStreams
type PSDataStreams = class
Public NotInheritable Class PSDataStreams
Inheritance
PSDataStreams

Properties

Debug

Gets or sets the debug buffer. Powershell invocation writes the debug data into this buffer. Can be null.

Error

Gets or sets the error buffer. Powershell invocation writes the error data into this buffer.

Information

Gets or sets the information buffer. Powershell invocation writes the warning data into this buffer. Can be null.

Progress

Gets or sets the progress buffer. Powershell invocation writes the progress data into this buffer. Can be null.

Verbose

Gets or sets the verbose buffer. Powershell invocation writes the verbose data into this buffer. Can be null.

Warning

Gets or sets the warning buffer. Powershell invocation writes the warning data into this buffer. Can be null.

Methods

ClearStreams()

Removes all items from all the data streams.

Applies to