次の方法で共有


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 名前空間

トップに戻る