google-code-export / taskleader

Automatically exported from code.google.com/p/taskleader
1 stars 1 forks source link

Outlook IF: erreur si message introuvable #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8004010F): Echec de l'opération 
du client.
   at Microsoft.Office.Interop.Outlook.NameSpaceClass.GetItemFromID(String EntryIDItem, Object EntryIDStore)
   at TaskLeader.BLL.OutlookIF.tryGetMailFromId(String entryId, String storeID, MailItem& mail) in C:\Users\Tanguy\documents\visual studio 2010\Projects\ActionsList\TaskLeader\BLL\OutlookIF.cs:line 162
   at TaskLeader.BLL.OutlookIF.displayMail(TLaction action) in C:\Users\Tanguy\documents\visual studio 2010\Projects\ActionsList\TaskLeader\BLL\OutlookIF.cs:line 117
   at TaskLeader.GUI.ManipAction.lienMail_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e) in C:\Users\Tanguy\documents\visual studio 2010\Projects\ActionsList\TaskLeader\GUI\ManipAction.cs:line 151
   at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
   at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Original issue reported on code.google.com by tangu...@gmail.com on 28 Mar 2011 at 4:26

GoogleCodeExporter commented 9 years ago
Modifier la méthode tryGetMailFromId et retourner false quelle que soit 
l'erreur

Original comment by tangu...@gmail.com on 28 Mar 2011 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by tangu...@gmail.com on 28 Mar 2011 at 7:24