Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.Management.Automation.Tracing Namespace

The System.Management.Automation.Tracing namespace contains classes, interfaces, delegates, and enumerations that comprise the tracing functionality in Windows PowerShell, including the raising and handling of tracing events and the control of tracing keywords, levels, operation codes, tasks, and channels.
ClassDescription
BaseChannelWriterDefines event-specific methods that are used to write a trace.This is an abstract base class. The default implementation does not write any message to any trace channel.
EtwActivityRepresents the base functionality of all Event Tracing for Windows (ETW) activity classes that represent an end-to-end scenario.
EtwEventDescribes an attribute that represents an Event Tracing for Windows (ETW) event.
EtwEventArgsProvides data for the Event Tracing for Windows (ETW) event.
EtwEventCorrelatorRepresents a simple implementation of IEtwEventCorrelator, which manages the Event Tracing for Windows (ETW) activity identifier of the current thread.
NullWriterRepresents a BaseChannelWriter that does not write to any trace logs. This class cannot be inherited.
PowerShellChannelWriterRepresents the concrete implementation of BaseChannelWriter, which defines event-specific methods that are used to write a trace. This class cannot be inherited.
PowerShellTraceSourceGives access to the TraceWriter channels. This class cannot be inherited.
PowerShellTraceSourceFactoryRetrieves a PowerShellTraceSource, which gives access to the trace writer channels, every time the GetTraceSource method is called.
TracerContains the handler methods of Event Tracing for Windows (ETW) events. This class cannot be inherited.
InterfaceDescription
IEtwActivityReverterExposes properties that can be used to revert the Event Tracing for Windows (ETW) activity identifier of the current thread to its original value.
IEtwEventCorrelatorExposes methods and properties that can be used to manage the Event Tracing for Windows (ETW) activity identifier of the current thread.
DelegateDescription
CallbackNoParameterRepresents the method that is called by the Correlate(CallbackNoParameter) method of the EtwActivity class.
CallbackWithStateRepresents the method that is called by the Correlate(CallbackWithState) method of the EtwActivity class.
CallbackWithStateAndArgsRepresents the method that is called by the Correlate(CallbackWithStateAndArgs) method of the EtwActivity class.
EnumerationDescription
PowerShellTraceChannelDescribes the channels to be used for tracing.
PowerShellTraceEventDescribes the different types of Windows PowerShell events that can be traced.
PowerShellTraceKeywordsSpecifies keywords that can be used in Windows PowerShell tracing.
PowerShellTraceLevelDefines the severity levels at which to perform Windows PowerShell tracing.
PowerShellTraceOperationCodeDefines the codes for different Windows PowerShell tracing operations.
PowerShellTraceTaskSpecifies the types of Windows PowerShell tasks.

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.