Example #1
0
 public static IEMessage OpenMessage(IEFolder folder, string entryId)
 {
     try
     {
         return(folder.OpenMessage(entryId));
     }
     catch (System.UnauthorizedAccessException exception)
     {
         _tracer.TraceException(exception);
     }
     catch (COMException exception)
     {
         _tracer.TraceException(exception);
         if (exception.ErrorCode != (unchecked ((int)0x80004005)) && exception.ErrorCode != (unchecked ((int)0x80040608)))
         {
             throw exception;
         }
     }
     return(null);
 }