/// <summary>
 /// Initializes a new instance of the MsgStore class.
 /// </summary>
 /// <param name="msgStore">IMsgStore object</param>
 /// <param name="entryID">Entry identification of IMsgStore object</param>
 public MessageStore(MAPISession session, IMsgStore msgStore, EntryID entryID, string name)
 {
     ulConnection_ = 0;
     Session       = session;
     mapiObj_      = msgStore;
     Id_           = entryID;
     Name          = name;
 }
 /// <summary>
 /// Initializes a new instance of the MsgStore class. 
 /// </summary>
 /// <param name="msgStore">IMsgStore object</param>
 /// <param name="entryID">Entry identification of IMsgStore object</param>
 public MessageStore(MAPISession session, IMsgStore msgStore, EntryID entryID, string name)
 {
     ulConnection_ = 0;
     Session = session;
     mapiObj_ = msgStore;
     Id_ = entryID;
     Name = name;
 }
示例#3
0
 public MAPIclass()
 {
     try
     {
         session = new MAPISession();
         Dictionary<string, bool> msgStores = session.GetMessageStores();
         foreach (KeyValuePair<string, bool> e in msgStores)
         {
             helpers.addLog(e.Key + "/" + e.Value.ToString());
         }
     }
     catch (Exception ex)
     {
         helpers.addLog("Exception: " + ex.Message);
     }
 }
示例#4
0
 public MAPIclass()
 {
     try
     {
         session = new MAPISession();
         Dictionary <string, bool> msgStores = session.GetMessageStores();
         foreach (KeyValuePair <string, bool> e in msgStores)
         {
             helpers.addLog(e.Key + "/" + e.Value.ToString());
         }
     }
     catch (Exception ex)
     {
         helpers.addLog("Exception: " + ex.Message);
     }
 }
 public StoreInfo(MAPISession session, string name, EntryID storeId)
 {
     session_ = session;
     Name = name;
     EntryId = storeId;
 }
 public StoreInfo(MessageStore store)
 {
     session_ = store.Session;
     Name = store.Name;
     EntryId = store.StoreID;
 }
示例#7
0
 public StoreInfo(MAPISession session, string name, EntryID storeId)
 {
     session_ = session;
     Name     = name;
     EntryId  = storeId;
 }
示例#8
0
 public StoreInfo(MessageStore store)
 {
     session_ = store.Session;
     Name     = store.Name;
     EntryId  = store.StoreID;
 }