IisTraceListener.WriteLine Method (String, String)

 

Writes the specified message and category name to the output of the IisTraceListener class.

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

Ignored. The T:System.Web.Iis7TraceListener implementation of System.Diagnostics.TraceListener class disregards the category parameter.

WriteLine is introduced in the .NET Framework 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework
Available since 2.0
Return to top
Show: