WebPageTraceListener.WriteLine Method (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Writes a category name and a message to a Web page or to the ASP.NET trace viewer.

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

public override void WriteLine(
	string message,
	string category
)

Parameters

message
Type: System.String

The message to write.

category
Type: System.String

A category name used to organize the output.

The WriteLine method does not write to the Trace object output, even if it is enabled in the configuration file.

.NET Framework
Available since 2.0
Return to top
Show: