Write Method (String, String)
Collapse the table of content
Expand the table of content

IisTraceListener.Write Method (String, String)


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

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

public override void Write(
	string message,
	string category


Type: System.String

The message to write.

Type: System.String

Ignored. The IisTraceListener implementation of the System.Diagnostics.TraceListener class disregards the category parameter.

This overload of the Write method is provided for compatibility. This method does not use any values passed in the category parameter.

Write 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
© 2016 Microsoft