What is SEHException?


face=Tahoma>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.
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">


face=Tahoma>  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">


style="mso-bidi-font-family: Tahoma">For all the
exception codes that don’t have a predefined mapping, we wrap them up into
SEHException.

Skip to main content