Exemplo n.º 1
0
 public static IEFolders GetFolders(IEFolder folder, FolderDescriptor folderDescriptor)
 {
     try
     {
         if (folderDescriptor == null)
         {
             folderDescriptor = FolderDescriptor.Get(folder);
         }
         return(folder.GetFolders());
     }
     catch (COMException exception)
     {
         _tracer.TraceException(exception);
         OutlookSession.ProblemWithOpeningFolder(folderDescriptor.FolderIDs.EntryId);
     }
     return(null);
 }