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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.