PSTraceSourceOptions Enum

Definition

These flags enable tracing based on the types of a tracing supplied. Each type of tracing will allow for one or more methods in the StructuredTraceSource class to become "enabled".

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

[System.Flags]
public enum PSTraceSourceOptions
Inheritance
PSTraceSourceOptions
Attributes

Fields

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