RunInfo.Exception-Eigenschaft
Ruft ggf. das Exception-Element ab, das sich das aus dem Testlauf ergeben hat.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public ReadOnly Property Exception As Exception
Get
public Exception Exception { get; }
public:
property Exception^ Exception {
Exception^ get ();
}
member Exception : Exception
function get Exception () : Exception
Eigenschaftswert
Typ: System.Exception
Ein Exception-Element oder ein nullNULL-Verweis (Nothing in Visual Basic)-Element.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.