-api-id | -api-type |
---|---|
T:Windows.Foundation.Diagnostics.LoggingFieldFormat |
winrt enum |
Specifies the format of an event field.
No format is specified.
-field Hidden:1
The field is hidden.
The field contains a MBCS (8-bit character) string.
A boolean field.
A hexadecimal field.
A process identifier field.
A thread identifier field.
A port number field.
An Internet Protocol version 4 (IPv4) field.
An Internet Protocol version 6 (IPv6) field.
A socket address field.
An Extensible Markup Language (XML) field.
A JavaScript Object Notation (JSON) field.
A 32-bit Win32 error code.
A 32-bit Windows NTSTATUS value.
A 32-bit Windows HRESULT value.
A 64-bit FILETIME value.
A signed value.
An unsigned value.
When an Event Tracing for Windows (ETW) payload is decoded by an event processing tool such as xperf or Windows Performance Analyzer (WPA), the tool may make use of formatting hints to interpret the field. Formatting hints are optional parameters to LoggingFields.Add.
For example, an int32 field may specify the **Hexadecimal ** format to indicate that it should be displayed in unsigned-hexadecimal. A byte-array field may specify the Signed format to indicate that it should be treated as a series of signed decimal integers, or it may specify the String format to indicate that it should be treated as an MBCS (8-bit character) string.