共用方式為


TestContext.TestLogsDir Property

Definition

Caution

This property is deprecated, use TestRunResultsDirectory for test run result files or TestResultsDirectory for test-specific result files instead. It will be removed in next version.

Gets directory for test run result files. Typically a subdirectory of ResultsDirectory. Same as TestRunResultsDirectory. Use that property for test run result files, or TestResultsDirectory for test-specific result files instead.

public virtual string TestLogsDir { get; }
public virtual string? TestLogsDir { get; }
[System.Obsolete("This property is deprecated, use TestRunResultsDirectory for test run result files or TestResultsDirectory for test-specific result files instead. It will be removed in next version.")]
public virtual string? TestLogsDir { get; }
member this.TestLogsDir : string
[<System.Obsolete("This property is deprecated, use TestRunResultsDirectory for test run result files or TestResultsDirectory for test-specific result files instead. It will be removed in next version.")>]
member this.TestLogsDir : string
Public Overridable ReadOnly Property TestLogsDir As String

Property Value

Attributes

Applies to