Property GetExceptionSlot
GetExceptionSlot
Gets a delegate which can be used to get a pointer to the current thread's native exception slot.
GetExceptionSlot GetExceptionSlot { get; }
Property Value
Remarks
Native exceptions which are caught this way must be preserved and restored just before returning to the
native->managed helper. Because calls into the native->managed helper clear the thread local storage, this value
must be read and preserved immediately after any calls to the managed->native helper, to protect against other
uses of the exception helper. It must then be restored before returning to the native->managed helper.