public CatalogMailboxArgs(CatalogMailboxProgressType type, IMailboxData mailbox)
 {
     this.Type = type;
     this.Mailbox = mailbox;
 }
Beispiel #2
0
 private void OnMailboxProgressChanged(CatalogMailboxProgressType type, IMailboxData mailbox = null)
 {
     if (MailboxProgressChanged != null)
     {
         try
         {
             MailboxProgressChanged(this, new CatalogMailboxArgs(type, mailbox));
         }
         catch (Exception e)
         {
             System.Diagnostics.Trace.TraceError(e.GetExceptionDetail());
             OnExceptionThrowed(e);
         }
     }
 }