Esempio n. 1
0
 private void UnhandledExceptionFrame(T1 result)
 {
     try
     {
         Callback(result);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
Esempio n. 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;
         }
     }
 }
Esempio n. 3
0
 void UnhandledExceptionFrame(object state)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(state);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
Esempio n. 4
0
 void UnhandledExceptionFrame(IAsyncResult result)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(result);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
Esempio n. 5
0
 private void UnhandledExceptionFrame(T1 result)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         base.Callback(result);
     }
     catch (Exception exception1)
     {
         Exception exception = exception1;
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }