Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataCollectionContext::HasTestCase Property

 

Gets a value that indicates whether an executing test case is associated with this context.

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

public:
property bool HasTestCase {
	bool get();
}

Property Value

Type: System::Boolean

true if an associated test case is being executed; otherwise, false.

Return to top
Show: