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
)

Parameters

message
Type: System.String

The message to write.

category
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
Show:
© 2016 Microsoft