- formatter
- The System.Web.Management.WebEventFormatter that contains the tab and indentation settings used to format the Web health event information.
The WebApplicationInformation.FormatToString(WebEventFormatter) method provides a uniform format for event information, which is useful if the event data must be logged and later presented to the user. It is called internally when the provider invokes one of the erload:System.Web.Management.WebBaseEvent.ToString methods.
When formatting your custom event information for display, override the WebApplicationInformation.FormatToString(WebEventFormatter) method rather than the WebApplicationInformation.ToString method. This will avoid overwriting or tampering with sensitive system information.