次の方法で共有


PSTraceSource Class

Definition

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.

Applies to