Partager via


TestResult.Outcome Property

Gets or sets an object by using details about the outcome of the associated test.

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

Syntax

'Declaration
<GroupingPropertyAttribute> _
<UserVisiblePropertyAttribute("{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")> _
Public Property Outcome As TestOutcome
[GroupingPropertyAttribute]
[UserVisiblePropertyAttribute("{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")]
public TestOutcome Outcome { get; set; }
[GroupingPropertyAttribute]
[UserVisiblePropertyAttribute(L"{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")]
public:
property TestOutcome Outcome {
    TestOutcome get ();
    void set (TestOutcome value);
}
[<GroupingPropertyAttribute>]
[<UserVisiblePropertyAttribute("{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")>]
member Outcome : TestOutcome with get, set
function get Outcome () : TestOutcome 
function set Outcome (value : TestOutcome)

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
Details about the outcome of the associated test.

.NET Framework Security

See Also

Reference

TestResult Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome