WebBaseEvent.ToString Method (Boolean, Boolean)
Assembly: System.Web (in system.web.dll)
public String ToString ( boolean includeAppInfo, boolean includeCustomEventDetails )
public function ToString ( includeAppInfo : boolean, includeCustomEventDetails : boolean ) : String
Not applicable.
Parameters
- includeAppInfo
true if standard application information must be displayed as part of the event information; otherwise, false.
- includeCustomEventDetails
true if custom information must be displayed as part of the event information; otherwise, false.
Return Value
The event information.The ToString method is generally invoked by the provider that processes the event. It formats event information by calling the event-specific FormatCustomEventDetails method. If includeAppInfo is true, the standard WebApplicationInformation object is provided with the event-specific data.
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.
Note: