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)

'Usage
Dim instance As PSTraceSourceOptions

[FlagsAttribute] 
public enum class PSTraceSourceOptions
/** @attribute FlagsAttribute() */ 
public enum PSTraceSourceOptions
FlagsAttribute 
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.
Show:
© 2014 Microsoft