IisTraceListener.WriteLine Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om