PSTraceSource 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.
An PSTraceSource is a representation of a System.Diagnostics.TraceSource instance that is used in the PowerShell components to produce trace output.
public ref class PSTraceSource
public class PSTraceSource
type PSTraceSource = class
Public Class PSTraceSource
- Inheritance
-
PSTraceSource
Remarks
It is permitted to subclass PSTraceSource but there is no established scenario for doing this, nor has it been tested.
Properties
Attributes |
Gets the attributes of the TraceSource. |
Description |
Gets or sets the description for this trace sources. |
Listeners |
Gets the listeners for the TraceSource. |
Name |
Gets the TraceSource name (also known as category). |
Options |
Gets or sets the options for what will be traced. |
Switch |
Gets or sets the TraceSource's Switch. |