Megosztás a következőn keresztül:


NullWriter Class

Definition

NullWriter is the implementation of BaseChannelWriter. This implementation does not write to any trace logs. This class is singleton and exposes its only instance through the static Instance property.

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

Properties

Instance

Static Instance property

Keywords (Inherited from BaseChannelWriter)

Methods

Dispose()

Dispose method

(Inherited from BaseChannelWriter)
TraceCritical(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceCritical

(Inherited from BaseChannelWriter)
TraceDebug(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceDebug

(Inherited from BaseChannelWriter)
TraceError(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceError

(Inherited from BaseChannelWriter)
TraceInformational(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceInformational

(Inherited from BaseChannelWriter)
TraceLogAlways(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceLogAlways

(Inherited from BaseChannelWriter)
TraceVerbose(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceVerbose

(Inherited from BaseChannelWriter)
TraceWarning(PowerShellTraceEvent, PowerShellTraceOperationCode, PowerShellTraceTask, Object[])

TraceWarning

(Inherited from BaseChannelWriter)

Applies to