WebBaseEvent.ToString Method (Boolean, Boolean)
Formats event information for display purposes.
Assembly: System.Web (in System.Web.dll)
Public Overridable Function ToString ( includeAppInfo As Boolean, includeCustomEventDetails As Boolean ) As String
true if standard application information must be displayed as part of the event information; otherwise, false.
true if custom information must be displayed as part of the event information; otherwise, false.
Return ValueType: System.String
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.
Available since 2.0