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:
virtual void Write (
	String^ message, 
	String^ category
) override
public void Write (
	String message, 
	String category
)
public override function Write (
	message : String, 
	category : String
)
Not applicable.

Parameters

message

The message to write.

category

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 . For more information, see The .NET Framework 3.5 Architecture.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: