Share via


RunResultAndStatistics.Outcome Property

Gets or sets the outcome of the associated test run.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<VisiblePropertyAttribute> _
Public Property Outcome As TestOutcome
[VisiblePropertyAttribute]
public TestOutcome Outcome { get; set; }
[VisiblePropertyAttribute]
public:
property TestOutcome Outcome {
    TestOutcome get ();
    void set (TestOutcome value);
}
[<VisiblePropertyAttribute>]
member Outcome : TestOutcome with get, set
function get Outcome () : TestOutcome 
function set Outcome (value : TestOutcome)

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
The outcome of the associated test run.

Remarks

The localized text version of this property is visible in the user interface of Visual Studio Test Professional. For more information, see the OutcomeText property.

.NET Framework Security

See Also

Reference

RunResultAndStatistics Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome

OutcomeText