WebBaseEvent.FormatCustomEventDetails Method
.NET Framework 2.0
Provides standard formatting of the event information.
Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public void FormatCustomEventDetails ( WebEventFormatter formatter )
public function FormatCustomEventDetails ( formatter : WebEventFormatter )
Not applicable.
Parameters
- formatter
A WebEventFormatter object that contains the formatted event information.
The FormatCustomEventDetails 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 ToString methods.
Note: |
|---|
|
When you format your custom event information for display, override the FormatCustomEventDetails method rather than the ToString method. This will avoid overwriting or tampering with sensitive system information. |
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show:
Note: