Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UITestException.SetHResult Method

Sets the corresponding HRESULT for this exception.

This API is not CLS-compliant. 

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: UInt32

The HRESULT value.

Show:
© 2015 Microsoft