Export (0) Print
Expand All
Expand Minimize

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

<FlagsAttribute> _
Public Enumeration 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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft