<div class="content" name="Context" uuid="800f8906-2165-47ed-88ff-c6e0b1330326"><p>The IUpdateException::Context (opnum 10) method retrieves
the context for the exception.</p><dl>
<dd>
<div><pre> HRESULT Context(
   [out, retval] UpdateExceptionContext* retval
 );
</pre></div>
</dd></dl><p><b>retval: </b>A value from the <span><a href="113c89ca-1307-482e-851c-fca47c56a6a2" data-linktype="relative-path">UpdateExceptionContext (section 2.2.8)</a></span>
enumeration that describes the context for the exception.</p><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>Context</b>
ADM element.</p></div>