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