DotNetTestSettings.

Timeout Property

Summary

Gets or sets the complete-run timeout passed as --timeout.

Syntax

public string Timeout { get; set; }

Remarks

Use a positive number and unit, such as 500ms, 90s, 10m, 2h, or 1d. A timed-out run exits with code 3. Requires .NET 11 Preview 7 or newer and MTP 2.4 or later.

Value

Type Description
string