Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 554 Bytes

loggingfields_clear_556466.md

File metadata and controls

20 lines (14 loc) · 554 Bytes
-api-id -api-type
M:Windows.Foundation.Diagnostics.LoggingFields.Clear
winrt method

Windows.Foundation.Diagnostics.LoggingFields.Clear

-description

Removes all fields stored in the object and resets the object to its newly-constructed state.

-remarks

This method allows you to reuse a LoggingFields instance with multiple events which improves performance by avoiding unnecessary object creation, payload buffer allocation, and garbage collection overhead.

-examples

-see-also