cbrumme's WebLog

What is SEHException?

One way you get this exception is if unmanaged code does an OS RaiseException() or causes a fault.  If that exception is propagated up the stack to managed code, we will try to map it to a managed exception.  For example, STATUS_NO_MEMORY maps to OutOfMemoryException and STATUS_ACCESS_VIOLATION maps to NullReferenceException.

 

For all the exception codes that don’t have a predefined mapping, we wrap them up into SEHException.

Published Tuesday, April 15, 2003 1:31 PM by cbrumme
Filed under:
Anonymous comments are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker