Partager via


UITestWarningEventArgs.Error Property

Gets the associated exception for this event.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public ReadOnly Property Error As Exception
public Exception Error { get; }
public:
property Exception^ Error {
    Exception^ get ();
}
member Error : Exception with get
function get Error () : Exception

Property Value

Type: Exception
The associated exception.

.NET Framework Security

See Also

Reference

UITestWarningEventArgs Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace