Export (0) Print
Expand All

UITestException.SetHResult Method

Sets the corresponding HRESULT for this exception.

This API is not CLS-compliant. The CLS-compliant alternative is [notavailable.].

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.

Community Additions

ADD
Show:
© 2014 Microsoft