PowerShellChannelWriter Class

Definition

ChannelWrite is the concrete implementation of IChannelWrite. It writes all the traces to the specified traceChannel. TraceChannel is specified in the constructor.
It always uses PowerShell event provider Id.

public ref class PowerShellChannelWriter sealed : System::Management::Automation::Tracing::BaseChannelWriter
public sealed class PowerShellChannelWriter : System.Management.Automation.Tracing.BaseChannelWriter
type PowerShellChannelWriter = class
    inherit BaseChannelWriter
Public NotInheritable Class PowerShellChannelWriter
Inherits BaseChannelWriter
Inheritance
PowerShellChannelWriter

Properties

Keywords

Methods

Dispose()

Dispose method

TraceCritical(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceCritical

TraceDebug(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceDebug

TraceError(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceError

TraceInformational(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceInformational

TraceLogAlways(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceLogAlways

TraceVerbose(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceVerbose

TraceWarning(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceWarning

Applies to