UITestException.SetHResult(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Sets the corresponding HRESULT for this exception.
protected:
void SetHResult(System::UInt32 hResult);
[System.CLSCompliant(false)]
protected void SetHResult (uint hResult);
[<System.CLSCompliant(false)>]
member this.SetHResult : uint32 -> unit
Protected Sub SetHResult (hResult As UInteger)
Parameters
- hResult
- UInt32
The HRESULT value.
- Attributes