ExpectedExceptionBaseAttribute.TestContext 屬性
本 API 支援 產品 基礎結構,不會直接用於您的程式碼。
命名空間: Microsoft.VisualStudio.TestTools.UnitTesting
組件: Microsoft.VisualStudio.QualityTools.UnitTestFramework (在 Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll 中)
語法
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
屬性值
Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext
備註
針對目前的測試提供相關資訊和功能。
請參閱
ExpectedExceptionBaseAttribute 類別
Microsoft.VisualStudio.TestTools.UnitTesting 命名空間
回到頁首