Share via


Proprietà ExpectedExceptionAttribute.ExceptionType

ottiene il tipo di eccezione previsto.

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

Sintassi

'Dichiarazione
Public Property ExceptionType As Type
public Type ExceptionType { get; private set; }
public:
property Type^ ExceptionType {
    Type^ get ();
    private: void set (Type^ value);
}
member ExceptionType : Type with get, private set
function get ExceptionType () : Type
private function set ExceptionType (value : Type)

Valore proprietà

Tipo: System.Type
In Type oggetto.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ExpectedExceptionAttribute Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UnitTesting