Share via


Proprietà ExpectedExceptionBaseAttribute.TestContext

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Sintassi

'Dichiarazione
Protected Friend Property TestContext As TestContext
protected internal TestContext TestContext { get; internal set; }
protected public:
property TestContext^ TestContext {
    TestContext^ get ();
    internal: void set (TestContext^ value);
}
member TestContext : TestContext with get, internal set
function get TestContext () : TestContext
internal function set TestContext (value : TestContext)

Valore proprietà

Tipo: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext

Note

Vengono fornite informazioni e funzionalità per il test corrente.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ExpectedExceptionBaseAttribute Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UnitTesting