ExpectedExceptionBaseAttribute.TestContext Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Syntax

protected internal TestContext TestContext {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    internal set;
}
public protected:
property TestContext^ TestContext {
    [CompilerGeneratedAttribute]
    TestContext^ get();
    [CompilerGeneratedAttribute]
    internal: void set(TestContext^ value);
}
member TestContext : TestContext with get, internal set
Protected Friend Property TestContext As TestContext
    Get
    Friend Set
End Property

Property Value

Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext

Remarks

Provides information about and functionality for the current test.

See Also

ExpectedExceptionBaseAttribute Class
Microsoft.VisualStudio.TestTools.UnitTesting Namespace

Return to top