예제 #1
0
파일: Fx.cs 프로젝트: nguyenbanguyen/wcf
 private void UnhandledExceptionFrame(T1 result)
 {
     try
     {
         Callback(result);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
예제 #2
0
파일: Fx.cs 프로젝트: dox0/DotNet471RS3
 void UnhandledExceptionFrame(uint error, uint bytesRead, NativeOverlapped *nativeOverlapped)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         this.callback(error, bytesRead, nativeOverlapped);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
예제 #3
0
파일: Fx.cs 프로젝트: dox0/DotNet471RS3
 void UnhandledExceptionFrame(object state)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(state);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
예제 #4
0
파일: Fx.cs 프로젝트: dox0/DotNet471RS3
 void UnhandledExceptionFrame(IAsyncResult result)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         Callback(result);
     }
     catch (Exception exception)
     {
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }
예제 #5
0
 private void UnhandledExceptionFrame(T1 result)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try
     {
         base.Callback(result);
     }
     catch (Exception exception1)
     {
         Exception exception = exception1;
         if (!Fx.HandleAtThreadBase(exception))
         {
             throw;
         }
     }
 }