Share via


ExpectedExceptionAttribute.AllowDerivedTypes Property

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

Syntax

'Declaration
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)

Property Value

Type: Boolean

.NET Framework Security

See Also

Reference

ExpectedExceptionAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace