MegaBites-AI/Windows-powershell
0308
1// Copyright (c) Microsoft Corporation.2// Licensed under the MIT License.3 4namespace System.Management.Automation5{6 /// <summary>7 /// Enumeration of the possible PowerShell stream types.8 /// This enumeration is obsolete.9 /// </summary>10 /// <remarks>11 /// This enumeration is a public type formerly used in PowerShell Workflow,12 /// but kept due to its generic name and public accessibility.13 /// It is not used by any other PowerShell API, and is now obsolete14 /// and should not be used if possible.15 /// </remarks>16 [Obsolete("This enum type was used only in PowerShell Workflow and is now obsolete.", error: true)]17 public enum PowerShellStreamType18 {19 /// <summary>20 /// PSObject.21 /// </summary>22 Input = 0,23 24 /// <summary>25 /// PSObject.26 /// </summary>27 Output = 1,28 29 /// <summary>30 /// ErrorRecord.31 /// </summary>32 Error = 2,33 34 /// <summary>35 /// WarningRecord.36 /// </summary>37 Warning = 3,38 39 /// <summary>40 /// VerboseRecord.41 /// </summary>42 Verbose = 4,43 44 /// <summary>45 /// DebugRecord.46 /// </summary>47 Debug = 5,48 49 /// <summary>50 /// ProgressRecord.51 /// </summary>52 Progress = 6,53 54 /// <summary>55 /// InformationRecord.56 /// </summary>57 Information = 758 }59}60 