Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebPageTraceListener.Write Method (String, String)

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 Write(
	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 Write method does not write to the Trace object output, even if it is enabled in the configuration file.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft