MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestException.SetHResult Method (UInt32)

 

Sets the corresponding HRESULT for this exception.

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

[CLSCompliantAttribute(false)]
protected void SetHResult(
	uint hResult
)

Parameters

hResult
Type: System.UInt32

The HRESULT value.

Return to top
Show:
© 2016 Microsoft