IisTraceListener.WriteLine Method

Definition

Writes a message and a category name to the IisTraceListener.

Overloads

WriteLine(String)

Writes the specified message to the output of the IisTraceListener class.

WriteLine(String, String)

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

WriteLine(String)

Writes the specified message to the output of the IisTraceListener class.

public:
 override void WriteLine(System::String ^ message);
public override void WriteLine (string message);
override this.WriteLine : string -> unit
Public Overrides Sub WriteLine (message As String)

Parameters

message
String

The message to write.

Remarks

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

Applies to

WriteLine(String, String)

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

public:
 override void WriteLine(System::String ^ message, System::String ^ category);
public override void WriteLine (string message, string category);
override this.WriteLine : string * string -> unit
Public Overrides Sub WriteLine (message As String, category As String)

Parameters

message
String

The message to write.

category
String

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

Remarks

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

Applies to