TestContext.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.
Overloads
WriteLine(String) |
Used to write trace messages while the test is running |
WriteLine(String, Object[]) |
Used to write trace messages while the test is running |
WriteLine(String)
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
Used to write trace messages while the test is running
public abstract void WriteLine (string message);
public abstract void WriteLine (string? message);
abstract member WriteLine : string -> unit
Public MustOverride Sub WriteLine (message As String)
Parameters
- message
- String
formatted message string
Applies to
WriteLine(String, Object[])
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
- Source:
- TestContext.cs
Used to write trace messages while the test is running
public abstract void WriteLine (string format, params object[] args);
public abstract void WriteLine (string format, params object?[] args);
abstract member WriteLine : string * obj[] -> unit
Public MustOverride Sub WriteLine (format As String, ParamArray args As Object())
Parameters
- format
- String
format string
- args
- Object[]
the arguments
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.