TestContext.Write 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
Write(String) |
Used to write trace messages while the test is running |
Write(String, Object[]) |
Used to write trace messages while the test is running |
Write(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 Write (string message);
public abstract void Write (string? message);
abstract member Write : string -> unit
Public MustOverride Sub Write (message As String)
Parameters
- message
- String
formatted message string
Applies to
Write(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 Write (string format, params object[] args);
public abstract void Write (string format, params object?[] args);
abstract member Write : string * obj[] -> unit
Public MustOverride Sub Write (format As String, ParamArray args As Object())
Parameters
- format
- String
format string
- args
- Object[]
the arguments
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.