Partager via


UITestException.HResult Property

Gets or sets the HRESULT for this exception.

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

Syntax

'Declaration
Public Property HResult As Integer
public int HResult { get; set; }
public:
property int HResult {
    int get ();
    void set (int value);
}
member HResult : int with get, set
function get HResult () : int 
function set HResult (value : int)

Property Value

Type: Int32
The HRESULT for this exception.

.NET Framework Security

See Also

Reference

UITestException Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace