Collapse the table of content
Expand the table of content
Expand Minimize
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

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.dll)

Dim instance As PSTraceSourceOptions

public enum PSTraceSourceOptions
/** @attribute FlagsAttribute() */ 
public enum PSTraceSourceOptions
public enum PSTraceSourceOptions

Member nameDescription
AllAll tracing is enabled.
AssertAsserts are traced.
ConstructorConstructors are traced.
DataA combination of data is traced. This option includes the following other options: Constructor, Dispose, Finalizer, Property, Verbose, and WriteLine.
DelegatesDelegates are traced.
DisposeDispose is traced.
ErrorA single error is traced.
ErrorsMultiple errors are traced. This option is a combination of other options, including Error and Exception.
EventsEvents are traced.
ExceptionExceptions are traced.
ExecutionFlowExecution flow is traced. This option includes the following other options: Constructor, Delegates, Dispose, Events, Finalizer, Method, and Scope.
FinalizerFinalize is traced.
LockLocks are traced.
MethodMethods are traced.
NoneAll tracing is off.
PropertyProperties are traced.
ScopeA scope is traced.
VerboseVerbose messages are traced.
WarningWarnings are traced.
WriteLineWriteLine is traced.


Target Platforms

© 2015 Microsoft