PSTraceSourceOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 supports a bitwise combination of its member values.
public enum class PSTraceSourceOptions
[System.Flags]
public enum PSTraceSourceOptions
[<System.Flags>]
type PSTraceSourceOptions =
Public Enum PSTraceSourceOptions
- Inheritance
-
PSTraceSourceOptions
- Attributes
Fields
All | 32767 | All combination of trace flags will be set. All methods for tracing will be enabled. |
Assert | 16384 | Assertions will be traced. |
Constructor | 1 | Constructors will be traced. |
Data | 6167 | A combination of flags that trace the data. The methods associated with the flags; Constructor, Dispose, Finalizer, Property, and WriteLine will be enabled. |
Delegates | 32 | Delegates will be traced. |
Dispose | 2 | Dispose will be traced. |
Error | 512 | Errors will be traced. |
Errors | 640 | A combination of flags that trace the errors. The methods associated with the flags; Error, and Exception will be enabled. |
Events | 64 | Events will be traced. |
Exception | 128 | Exceptions will be traced. |
ExecutionFlow | 8303 | A combination of flags that trace the execution flow. The methods associated with the flags; Constructor, Dispose, Finalizer, Method, Delegates, and Events will be enabled. |
Finalizer | 4 | Finalize will be traced. |
Lock | 256 | Locks will be traced. |
Method | 8 | Methods will be traced. |
None | 0 | All tracing off. |
Property | 16 | Properties will be traced. |
Scope | 8192 | TraceScope calls will be traced. |
Verbose | 2048 | Verbose messages will be traced. |
Warning | 1024 | Warnings will be traced. |
WriteLine | 4096 | WriteLines will be traced. |