Example #1
0
 private void UnhandledExceptionFrame(T1 result)
 {
     try
     {
         Callback(result);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
Example #2
0
 void UnhandledExceptionFrame(uint error, uint bytesRead, NativeOverlapped *nativeOverlapped)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         this.callback(error, bytesRead, nativeOverlapped);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
Example #3
0
 void UnhandledExceptionFrame(object state)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(state);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
Example #4
0
 void UnhandledExceptionFrame(IAsyncResult result)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(result);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
Example #5
0
 private void UnhandledExceptionFrame(T1 result)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         base.Callback(result);
     }
     catch (Exception exception1)
     {
         Exception exception = exception1;
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }