Udostępnij za pośrednictwem


Właściwość ExpectedExceptionAttribute.AllowDerivedTypes —

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UnitTesting
Zestaw:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (w Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Składnia

'Deklaracja
Public Property AllowDerivedTypes As Boolean
public bool AllowDerivedTypes { get; set; }
public:
property bool AllowDerivedTypes {
    bool get ();
    void set (bool value);
}
member AllowDerivedTypes : bool with get, set
function get AllowDerivedTypes () : boolean
function set AllowDerivedTypes (value : boolean)

Wartość właściwości

Typ: System.Boolean

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ExpectedExceptionAttribute Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UnitTesting