System.Web.Management.WebBaseEvent.FormatCustomEventDetails Method

Provides standard formatting of the event information.

Syntax

public virtual void FormatCustomEventDetails (WebEventFormatter formatter)

Parameters

formatter
A System.Web.Management.WebEventFormatter object that contains the formatted event information.

Remarks

The WebBaseEvent.FormatCustomEventDetails(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.

Note:

When you format your custom event information for display, override the WebBaseEvent.FormatCustomEventDetails(WebEventFormatter) method rather than the erload:System.Web.Management.WebBaseEvent.ToString method. This will avoid overwriting or tampering with sensitive system information.

Requirements

Namespace: System.Web.Management
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0