System.Web.Management.WebApplicationInformation.ToString Method

Formats event information for display purposes.

Syntax

public override string ToString ()

Returns

The event information.

Remarks

The WebBaseEvent.ToString method formats event information by calling the WebApplicationInformation.FormatToString(WebEventFormatter) method.

Note:

When formatting your custom event information for display, override the WebApplicationInformation.FormatToString(WebEventFormatter) method rather than this WebApplicationInformation.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