PowerShellTraceEvent Enum

Definition

Defines enumerations for event ids

public enum class PowerShellTraceEvent
public enum PowerShellTraceEvent
type PowerShellTraceEvent = 
Public Enum PowerShellTraceEvent
Inheritance
PowerShellTraceEvent

Fields

Name Value Description
None 0

None. (Should not be used)

HostNameResolve 4097

HostNameResolve

SchemeResolve 4098

SchemeResolve

ShellResolve 4099

ShellResolve

RunspaceConstructor 8193

RunspaceConstructor

RunspacePoolConstructor 8194

RunspacePoolConstructor

RunspacePoolOpen 8195

RunspacePoolOpen

OperationalTransferEventRunspacePool 8196

OperationalTransferEventRunspacePool

RunspacePort 12033

RunspacePort

AppName 12034

AppName

ComputerName 12035

ComputerName

Scheme 12036

Scheme

TestAnalytic 12037

TestAnalytic

WSManConnectionInfoDump 12038

WSManConnectionInfoDump

AnalyticTransferEventRunspacePool 12039

AnalyticTransferEventRunspacePool

SerializerWorkflowLoadSuccess 28673

SerializerWorkflowLoadSuccess

SerializerWorkflowLoadFailure 28674

SerializerWorkflowLoadFailure

SerializerDepthOverride 28675

SerializerDepthOverride

SerializerModeOverride 28676

SerializerModeOverride

SerializerScriptPropertyWithoutRunspace 28677

SerializerScriptPropertyWithoutRunspace

SerializerPropertyGetterFailed 28678

SerializerPropertyGetterFailed

SerializerEnumerationFailed 28679

SerializerEnumerationFailed

SerializerToStringFailed 28680

SerializerToStringFailed

SerializerMaxDepthWhenSerializing 28682

SerializerMaxDepthWhenSerializing

SerializerXmlExceptionWhenDeserializing 28683

SerializerXmlExceptionWhenDeserializing

SerializerSpecificPropertyMissing 28684

SerializerSpecificPropertyMissing

TransportReceivedObject 32769

TransportReceivedObject

AppDomainUnhandledExceptionAnalytic 32775

AppDomainUnhandledExceptionAnalytic

TransportErrorAnalytic 32776

TransportErrorAnalytic

AppDomainUnhandledException 32777

AppDomainUnhandledException

TransportError 32784

TransportError

WSManCreateShell 32785

WSManCreateShell

WSManCreateShellCallbackReceived 32786

WSManCreateShellCallbackReceived

WSManCloseShell 32787

WSManCloseShell

WSManCloseShellCallbackReceived 32788

WSManCloseShellCallbackReceived

WSManSendShellInputExtended 32789

WSManSendShellInputExtended

WSManSendShellInputExtendedCallbackReceived 32790

WSManSendShellInputExCallbackReceived

WSManReceiveShellOutputExtended 32791

WSManReceiveShellOutputExtended

WSManReceiveShellOutputExtendedCallbackReceived 32792

WSManReceiveShellOutputExCallbackReceived

WSManCreateCommand 32793

WSManCreateCommand

WSManCreateCommandCallbackReceived 32800

WSManCreateCommandCallbackReceived

WSManCloseCommand 32801

WSManCloseCommand

WSManCloseCommandCallbackReceived 32802

WSManCloseCommandCallbackReceived

WSManSignal 32803

WSManSignal

WSManSignalCallbackReceived 32804

WSManSignalCallbackReceived

UriRedirection 32805

UriRedirection

ServerSendData 32849

ServerSendData

ServerCreateRemoteSession 32850

ServerCreateRemoteSession

ReportContext 32851

ReportContext

ReportOperationComplete 32852

ReportOperationComplete

ServerCreateCommandSession 32853

ServerCreateCommandSession

ServerStopCommand 32854

ServerStopCommand

ServerReceivedData 32855

ServerReceivedData

ServerClientReceiveRequest 32856

ServerClientReceiveRequest

ServerCloseOperation 32857

ServerCloseOperation

LoadingPSCustomShellAssembly 32865

LoadingPSCustomShellAssembly

LoadingPSCustomShellType 32866

LoadingPSCustomShellType

ReceivedRemotingFragment 32867

ReceivedRemotingFragment

SentRemotingFragment 32868

SentRemotingFragment

WSManPluginShutdown 32869

WSManPluginShutdown

PerformanceTrackConsoleStartupStart 40961

PerformanceTrackConsoleStartupStart

PerformanceTrackConsoleStartupStop 40962

PerformanceTrackConsoleStartupStop

ErrorRecord 45057

ErrorRecord

Exception 45058

Exception

PowerShellObject 45059

PoweShellObject

Job 45060

Job

TraceMessage 45061

Writing a simple trace message from code

TraceWSManConnectionInfo 45062

Trace the WSManConnectionInfo used for this connection

TraceMessage2 49153

Writing a simple trace message from code with 2 strings

TraceMessageGuid 49154

Writing a simple trace message from code with 2 strings

Remarks

add an entry for a new event that you add to the manifest. Set it to the same value that was set in the manifest

Applies to