예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <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;
 }