/// <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; }
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 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; }