Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSTraceSourceOptions Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the types of tracing that are enabled. For example, tracing can be enabled to trace methods, properties, errors, and more.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

[FlagsAttribute]
public enum PSTraceSourceOptions

Member nameDescription
All

All combination of trace flags will be set be traced

Assert

Assertions will be traced

Constructor

Constructors will be traced

Data

A combination of flags that trace the data will be traced be traced

Delegates

Delegates will be traced

Dispose

Dispose will be traced

Error

Errors will be traced

Errors

A combination of flags that trace the errors

Events

Events will be traced

Exception

Exceptions will be traced

ExecutionFlow

A combination of flags that trace the execution flow will be traced

Finalizer

Finalize will be traced

Lock

Locks will be traced

Method

Methods will be traced

None

All tracing off

Property

Properties will be traced

Scope

TraceScope calls will be traced

Verbose

Verbose messages will be traced

Warning

Warnings will be traced

WriteLine

WriteLines will be traced

Return to top
Show:
© 2016 Microsoft