WebApplicationInformation::ToString Method ()

 

Formats event information for display purposes.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public:
virtual String^ ToString() override

Return Value

Type: System::String^

The event information.

The ToString method formats event information by calling the FormatToString method.

System_CAPS_noteNote

When formatting your custom event information for display, override the FormatToString method rather than this ToString method. This will avoid overwriting or tampering with sensitive system information.

For an example of using the ToString method, see WebEventProvider.

.NET Framework
Available since 2.0
Return to top
Show: