Compartir a través de


Tracer Class

Definition

Tracer.

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

Constructors

Tracer()

Constructor.

Fields

KeywordAll

Keyword all

LevelCritical

Critical level

LevelError

Error level

LevelInformational

Informational level

LevelVerbose

Verbose level

LevelWarning

Warning level

Properties

IsEnabled

IsEnabled

(Inherited from EtwActivity)
ProviderId

The provider where the tracing messages will be written to.

(Inherited from EtwActivity)
TransferEvent

The event that is defined to be used to log transfer event. The derived class must override this property if they don't want to use the PowerShell's transfer event.

(Inherited from EtwActivity)

Methods

AbortingWorkflowExecution(Guid, String)

AbortingWorkflowExecution (EventId: 0xb038/45112)

ActivityExecutionFinished(String)

ActivityExecutionFinished (EventId: 0xb03f/45119)

ActivityExecutionQueued(Guid, String)

ActivityExecutionQueued (EventId: 0xb017/45079)

ActivityExecutionStarted(String, String)

ActivityExecutionStarted (EventId: 0xb018/45080)

BeginContainerParentJobExecution(Guid)

BeginContainerParentJobExecution (EventId: 0xb50c/46348).

BeginCreateNewJob(Guid)

BeginCreateNewJob (EventId: 0xb503/46339)

BeginJobLogic(Guid)

BeginJobLogic (EventId: 0xb506/46342)

BeginProxyChildJobEventHandler(Guid)

BeginProxyChildJobEventHandler (EventId: 0xb512/46354).

BeginProxyJobEventHandler(Guid)

BeginProxyJobEventHandler (EventId: 0xb510/46352).

BeginProxyJobExecution(Guid)

BeginProxyJobExecution (EventId: 0xb50e/46350).

BeginRunGarbageCollection()

BeginRunGarbageCollection (EventId: 0xb514/46356)

BeginStartWorkflowApplication(Guid)

BeginStartWorkflowApplication (EventId: 0xb501/46337)

BeginWorkflowExecution(Guid)

BeginWorkflowExecution (EventId: 0xb508/46344)

CancellingWorkflowExecution(Guid)

CancellingWorkflowExecution (EventId: 0xb037/45111)

ChildWorkflowJobAddition(Guid, Guid)

ChildWorkflowJobAddition (EventId: 0xb50a/46346)

Correlate()

Correlates parent activity id set in the thread with a new activity id If parent activity id is not, it just sets a new activity in the current thread. And does not write the Transfer event

(Inherited from EtwActivity)
Correlate(AsyncCallback)

Wraps a AsyncCallback with IAsyncResult param

(Inherited from EtwActivity)
Correlate(CallbackNoParameter)

Wraps a callback with no params

(Inherited from EtwActivity)
Correlate(CallbackWithState)

Wraps a callback with one object param

(Inherited from EtwActivity)
Correlate(CallbackWithStateAndArgs)

Wraps a callback with one object param and one ElapsedEventArgs object This is menat to be used in System.Timers.Timer scenarios.

(Inherited from EtwActivity)
CorrelateWithActivity(Guid)

CorrelateWithActivity (EventId: 0x1f05/7941) This method also sets a new activity id in current thread. And then correlates the new id with parentActivityId

(Inherited from EtwActivity)
DebugMessage(Exception)

DebugMessage

DebugMessage(String)

DebugMessage (EventId: 0xc000/49152)

EndContainerParentJobExecution(Guid)

EndContainerParentJobExecution (EventId: 0xb50d/46349).

EndCreateNewJob(Guid)

EndCreateNewJob (EventId: 0xb504/46340)

EndJobLogic(Guid)

EndJobLogic (EventId: 0xb507/46343)

EndpointDisabled(String, String)

EndpointDisabled (EventId: 0xb044/45124).

EndpointEnabled(String, String)

EndpointEnabled (EventId: 0xb045/45125).

EndpointModified(String, String)

EndpointModified (EventId: 0xb042/45122).

EndpointRegistered(String, String, String)

EndpointRegistered (EventId: 0xb041/45121)

EndpointRegistered(String, String)
EndpointUnregistered(String, String)

EndpointUnregistered (EventId: 0xb043/45123).

EndProxyChildJobEventHandler(Guid)

EndProxyChildJobEventHandler (EventId: 0xb513/46355)

EndProxyJobEventHandler(Guid)

EndProxyJobEventHandler (EventId: 0xb511/46353).

EndProxyJobExecution(Guid)

EndProxyJobExecution (EventId: 0xb50f/46351).

EndRunGarbageCollection()

EndRunGarbageCollection (EventId: 0xb515/46357)

EndStartWorkflowApplication(Guid)

EndStartWorkflowApplication (EventId: 0xb502/46338)

EndWorkflowExecution(Guid)

EndWorkflowExecution (EventId: 0xb509/46345)

ErrorImportingWorkflowFromXaml(Guid, String)

ErrorImportingWorkflowFromXaml (EventId: 0xb01b/45083)

ForcedWorkflowShutdownError(Guid, String)

ForcedWorkflowShutdownError (EventId: 0xb03c/45116)

ForcedWorkflowShutdownFinished(Guid)

ForcedWorkflowShutdownFinished (EventId: 0xb03b/45115)

ForcedWorkflowShutdownStarted(Guid)

ForcedWorkflowShutdownStarted (EventId: 0xb03a/45114)

GetExceptionString(Exception)

Converts exception object into a string.

ImportedWorkflowFromXaml(Guid, String)

ImportedWorkflowFromXaml (EventId: 0xb01a/45082)

ImportingWorkflowFromXaml(Guid, String)

ImportingWorkflowFromXaml (EventId: 0xb019/45081)

IsProviderEnabled(Byte, Int64)

Checks whether a provider matching certain levels and keyword is enabled

(Inherited from EtwActivity)
JobCreationComplete(Guid, Guid)

JobCreationComplete (EventId: 0xb032/45106)

JobError(Int32, Guid, String)

JobError (EventId: 0xb02e/45102)

JobRemoved(Guid, Guid, Guid)

JobRemoved (EventId: 0xb033/45107)

JobRemoveError(Guid, Guid, Guid, String)

JobRemoveError (EventId: 0xb034/45108)

JobStateChanged(Int32, Guid, String, String)

JobStateChanged (EventId: 0xb02d/45101)

LoadingWorkflowForExecution(Guid)

LoadingWorkflowForExecution (EventId: 0xb035/45109)

OutOfProcessRunspaceStarted(String)

OutOfProcessRunspaceStarted (EventId: 0xb046/45126)

ParameterSplattingWasPerformed(String, String)

ParameterSplattingWasPerformed (EventId: 0xb047/45127)

ParentJobCreated(Guid)

ParentJobCreated (EventId: 0xb031/45105)

PersistenceStoreMaxSizeReached()

PersistenceStoreMaxSizeReached (EventId: 0xb516/46358)

PersistingWorkflow(Guid, String)

PersistingWorkflow (EventId: 0xb03d/45117)

ProxyJobRemoteJobAssociation(Guid, Guid)

ProxyJobRemoteJobAssociation (EventId: 0xb50b/46347).

RemoveJobStarted(Guid)

RemoveJobStarted (EventId: 0xb02c/45100)

RunspaceAvailabilityChanged(String, String)

RunspaceAvailabilityChanged (EventId: 0xb022/45090)

RunspaceStateChanged(String, String, String)

RunspaceStateChanged (EventId: 0xb023/45091)

TrackingGuidContainerParentJobCorrelation(Guid, Guid)

TrackingGuidContainerParentJobCorrelation (EventId: 0xb505/46341)

UnloadingWorkflow(Guid)

UnloadingWorkflow (EventId: 0xb039/45113)

WorkflowActivityExecutionFailed(Guid, String, String)

WorkflowActivityExecutionFailed (EventId: 0xb021/45089)

WorkflowActivityValidated(Guid, String, String)

WorkflowActivityValidated (EventId: 0xb01f/45087)

WorkflowActivityValidationFailed(Guid, String, String)

WorkflowActivityValidationFailed (EventId: 0xb020/45088)

WorkflowCleanupPerformed(Guid)

WorkflowCleanupPerformed (EventId: 0xb028/45096)

WorkflowDeletedFromDisk(Guid, String)

WorkflowDeletedFromDisk (EventId: 0xb02a/45098)

WorkflowEngineStarted(String)

WorkflowEngineStarted (EventId: 0xb048/45128)

WorkflowExecutionAborted(Guid)

WorkflowExecutionAborted (EventId: 0xb027/45095)

WorkflowExecutionCancelled(Guid)

WorkflowExecutionCancelled (EventId: 0xb026/45094)

WorkflowExecutionError(Guid, String)

WorkflowExecutionError (EventId: 0xb040/45120)

WorkflowExecutionFinished(Guid)

WorkflowExecutionFinished (EventId: 0xb036/45110)

WorkflowExecutionStarted(Guid, String)

WorkflowExecutionStarted (EventId: 0xb008/45064)

WorkflowJobCreated(Guid, Guid, Guid)

WorkflowJobCreated (EventId: 0xb030/45104)

WorkflowLoadedForExecution(Guid)

WorkflowLoadedForExecution (EventId: 0xb024/45092)

WorkflowLoadedFromDisk(Guid, String)

WorkflowLoadedFromDisk (EventId: 0xb029/45097)

WorkflowManagerCheckpoint(String, String, String, String)

WorkflowManagerCheckpoint (EventId: 0xb049/45129)

WorkflowPersisted(Guid)

WorkflowPersisted (EventId: 0xb03e/45118)

WorkflowPluginRequestedToShutdown(String)

WorkflowPluginRequestedToShutdown (EventId: 0xb010/45072)

WorkflowPluginRestarted(String)

WorkflowPluginRestarted (EventId: 0xb011/45073)

WorkflowPluginStarted(String, String, String, String, String)

WorkflowPluginStarted (EventId: 0xb007/45063)

WorkflowQuotaViolated(String, String, String, String)

WorkflowQuotaViolated (EventId: 0xb013/45075)

WorkflowResumed(Guid)

WorkflowResumed (EventId: 0xb014/45076)

WorkflowResuming(Guid)

WorkflowResuming (EventId: 0xb012/45074)

WorkflowRunspacePoolCreated(Guid, String)

WorkflowRunspacePoolCreated (EventId: 0xb016/45078)

WorkflowStateChanged(Guid, String, String)

WorkflowStateChanged (EventId: 0xb009/45065)

WorkflowUnloaded(Guid)

WorkflowUnloaded (EventId: 0xb025/45093)

WorkflowValidationError(Guid)

WorkflowValidationError (EventId: 0xb01e/45086)

WorkflowValidationFinished(Guid)

WorkflowValidationFinished (EventId: 0xb01d/45085)

WorkflowValidationStarted(Guid)

WorkflowValidationStarted (EventId: 0xb01c/45084)

WriteEvent(EventDescriptor, Object[])

This is the main method that write the messages to the trace. All derived classes must use this method to write to the provider log.

(Inherited from EtwActivity)
WriteTransferEvent(Guid, Guid)

WriteTransferEvent (EventId: 0x1f05/7941)

Applies to