共用方式為


PowerShellStreamType Enum

Definition

Caution

This enum type was used only in PowerShell Workflow and is now obsolete.

Enumeration of the possible PowerShell stream types. This enumeration is obsolete.

public enum class PowerShellStreamType
public enum PowerShellStreamType
[System.Obsolete("This enum type was used only in PowerShell Workflow and is now obsolete.", true)]
public enum PowerShellStreamType
type PowerShellStreamType = 
[<System.Obsolete("This enum type was used only in PowerShell Workflow and is now obsolete.", true)>]
type PowerShellStreamType = 
Public Enum PowerShellStreamType
Inheritance
PowerShellStreamType
Attributes

Fields

Name Value Description
Input 0

PSObject.

Output 1

PSObject.

Error 2

ErrorRecord.

Warning 3

WarningRecord.

Verbose 4

VerboseRecord.

Debug 5

DebugRecord.

Progress 6

ProgressRecord.

Information 7

InformationRecord.

Remarks

This enumeration is a public type formerly used in PowerShell Workflow, but kept due to its generic name and public accessibility. It is not used by any other PowerShell API, and is now obsolete and should not be used if possible.

Applies to