PowerShellTraceSource Class
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.
TraceSource class gives access to the actual TraceWriter channels. Three channels are pre-defined 1) Debug 2) Analytic and 3) Operations This class also has strongly types methods that are used for easy tracing.
public ref class PowerShellTraceSource sealed : IDisposable
public sealed class PowerShellTraceSource : IDisposable
type PowerShellTraceSource = class
interface IDisposable
Public NotInheritable Class PowerShellTraceSource
Implements IDisposable
- Inheritance
-
PowerShellTraceSource
- Implements
Properties
AnalyticChannel |
Gives access to analytical channel writer |
DebugChannel |
Gives access to Debug channel writer |
Keywords |
Keywords that were set through constructor when object was instantiated |
OperationalChannel |
Gives access to operational channel writer |
Task |
Task that was set through constructor |