Proprietà ExpectedExceptionAttribute.AllowDerivedTypes
Spazio dei nomi: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Sintassi
'Dichiarazione
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)
Valore proprietà
Tipo: Boolean
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
ExpectedExceptionAttribute Classe
Spazio dei nomi Microsoft.VisualStudio.TestTools.UnitTesting