<div class="content" name="HResult" uuid="89030a0e-dc01-4d6e-817d-2185d34053f9"><p>The IUpdateException::HResult (opnum 9) method retrieves the
<b>HRESULT</b> describing the error.</p><dl>
<dd>
<div><pre> HRESULT HResult(
   [out, retval] LONG* retval
 );
</pre></div>
</dd></dl><p><b>retval: </b>An <b>HRESULT</b> code describing the
error. The severity bit in the structure identifies the following conditions:</p><ul><li><p><span><span>  </span></span>If
the severity bit is set to 0, the method completed successfully.</p>
</li><li><p><span><span>  </span></span>If
the severity bit is set to 1, the method failed and encountered a fatal error.</p>
</li></ul><p><b>Return Values: </b>The method MUST return
information in an <b>HRESULT</b> data structure. The severity bit in the
structure identifies the following conditions:</p><ul><li><p><span><span>  </span></span>If
the severity bit is set to 0, the method completed successfully.</p>
</li><li><p><span><span>  </span></span>If
the severity bit is set to 1, the method failed and encountered a fatal error.</p>
</li></ul><p><b>Exceptions Thrown:</b> No exceptions are thrown beyond
those thrown by the underlying RPC protocol <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>.</p><p>This method SHOULD return the value of the <b>HResult</b>
ADM element.</p></div>