This topic has not yet been rated - Rate this topic

PSTraceSourceOptions Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As PSTraceSourceOptions

[FlagsAttribute] 
public enum PSTraceSourceOptions
/** @attribute FlagsAttribute() */ 
public enum PSTraceSourceOptions
FlagsAttribute 
public enum PSTraceSourceOptions
Member name Description
All All tracing is enabled.
Assert Asserts are traced.
Constructor Constructors are traced.
Data A combination of data is traced. This option includes the following other options: Constructor, Dispose, Finalizer, Property, Verbose, WriteLine.
Delegates Delegates are traced.
Dispose Dispose is traced.
Error A single error is traced.
Errors Multiple errors are traced. This option is a combination of other options, including Error and Exception.
Events Events are traced.
Exception Exceptions are traced.
ExecutionFlow Execution flow is traced. This option includes the following other options:
Finalizer Finalize is traced.
Lock Locks are traced.
Method Methods are traced.
None All tracing is off.
Property Properties are traced.
Scope A scope is traced.
Verbose Verbose messages are traced.
Warning Warnings are traced.
WriteLine WriteLine is traced.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)