PowerShellTraceEvent Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines enumerations for event ids
public enum class PowerShellTraceEvent
public enum PowerShellTraceEvent
type PowerShellTraceEvent =
Public Enum PowerShellTraceEvent
- Inheritance
-
PowerShellTraceEvent
Fields
AnalyticTransferEventRunspacePool | 12039 | AnalyticTransferEventRunspacePool |
AppDomainUnhandledException | 32777 | AppDomainUnhandledException |
AppDomainUnhandledExceptionAnalytic | 32775 | AppDomainUnhandledExceptionAnalytic |
AppName | 12034 | AppName |
ComputerName | 12035 | ComputerName |
ErrorRecord | 45057 | ErrorRecord |
Exception | 45058 | Exception |
HostNameResolve | 4097 | HostNameResolve |
Job | 45060 | Job |
LoadingPSCustomShellAssembly | 32865 | LoadingPSCustomShellAssembly |
LoadingPSCustomShellType | 32866 | LoadingPSCustomShellType |
None | 0 | None. (Should not be used) |
OperationalTransferEventRunspacePool | 8196 | OperationalTransferEventRunspacePool |
PerformanceTrackConsoleStartupStart | 40961 | PerformanceTrackConsoleStartupStart |
PerformanceTrackConsoleStartupStop | 40962 | PerformanceTrackConsoleStartupStop |
PowerShellObject | 45059 | PoweShellObject |
ReceivedRemotingFragment | 32867 | ReceivedRemotingFragment |
ReportContext | 32851 | ReportContext |
ReportOperationComplete | 32852 | ReportOperationComplete |
RunspaceConstructor | 8193 | RunspaceConstructor |
RunspacePoolConstructor | 8194 | RunspacePoolConstructor |
RunspacePoolOpen | 8195 | RunspacePoolOpen |
RunspacePort | 12033 | RunspacePort |
Scheme | 12036 | Scheme |
SchemeResolve | 4098 | SchemeResolve |
SentRemotingFragment | 32868 | SentRemotingFragment |
SerializerDepthOverride | 28675 | SerializerDepthOverride |
SerializerEnumerationFailed | 28679 | SerializerEnumerationFailed |
SerializerMaxDepthWhenSerializing | 28682 | SerializerMaxDepthWhenSerializing |
SerializerModeOverride | 28676 | SerializerModeOverride |
SerializerPropertyGetterFailed | 28678 | SerializerPropertyGetterFailed |
SerializerScriptPropertyWithoutRunspace | 28677 | SerializerScriptPropertyWithoutRunspace |
SerializerSpecificPropertyMissing | 28684 | SerializerSpecificPropertyMissing |
SerializerToStringFailed | 28680 | SerializerToStringFailed |
SerializerWorkflowLoadFailure | 28674 | SerializerWorkflowLoadFailure |
SerializerWorkflowLoadSuccess | 28673 | SerializerWorkflowLoadSuccess |
SerializerXmlExceptionWhenDeserializing | 28683 | SerializerXmlExceptionWhenDeserializing |
ServerClientReceiveRequest | 32856 | ServerClientReceiveRequest |
ServerCloseOperation | 32857 | ServerCloseOperation |
ServerCreateCommandSession | 32853 | ServerCreateCommandSession |
ServerCreateRemoteSession | 32850 | ServerCreateRemoteSession |
ServerReceivedData | 32855 | ServerReceivedData |
ServerSendData | 32849 | ServerSendData |
ServerStopCommand | 32854 | ServerStopCommand |
ShellResolve | 4099 | ShellResolve |
TestAnalytic | 12037 | TestAnalytic |
TraceMessage | 45061 | Writing a simple trace message from code |
TraceMessage2 | 49153 | Writing a simple trace message from code with 2 strings |
TraceMessageGuid | 49154 | Writing a simple trace message from code with 2 strings |
TraceWSManConnectionInfo | 45062 | Trace the WSManConnectionInfo used for this connection |
TransportError | 32784 | TransportError |
TransportErrorAnalytic | 32776 | TransportErrorAnalytic |
TransportReceivedObject | 32769 | TransportReceivedObject |
UriRedirection | 32805 | UriRedirection |
WSManCloseCommand | 32801 | WSManCloseCommand |
WSManCloseCommandCallbackReceived | 32802 | WSManCloseCommandCallbackReceived |
WSManCloseShell | 32787 | WSManCloseShell |
WSManCloseShellCallbackReceived | 32788 | WSManCloseShellCallbackReceived |
WSManConnectionInfoDump | 12038 | WSManConnectionInfoDump |
WSManCreateCommand | 32793 | WSManCreateCommand |
WSManCreateCommandCallbackReceived | 32800 | WSManCreateCommandCallbackReceived |
WSManCreateShell | 32785 | WSManCreateShell |
WSManCreateShellCallbackReceived | 32786 | WSManCreateShellCallbackReceived |
WSManPluginShutdown | 32869 | WSManPluginShutdown |
WSManReceiveShellOutputExtended | 32791 | WSManReceiveShellOutputExtended |
WSManReceiveShellOutputExtendedCallbackReceived | 32792 | WSManReceiveShellOutputExCallbackReceived |
WSManSendShellInputExtended | 32789 | WSManSendShellInputExtended |
WSManSendShellInputExtendedCallbackReceived | 32790 | WSManSendShellInputExCallbackReceived |
WSManSignal | 32803 | WSManSignal |
WSManSignalCallbackReceived | 32804 | WSManSignalCallbackReceived |
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