private void SetCategories(IEMessage message, ref bool wasChanges) { if (ExportCategories.ProcessCategories(message, _task)) { wasChanges = true; } }
protected override void Execute() { IEMAPIProp message = OpenMessage(_contact, false, true, true); if (message == null) { if (_newCreated) { _tracer.Trace("Cannot Export NEW contact for resource id = " + _contact.Id); } _tracer.Trace("Cannot Export contact for resource id = " + _contact.Id); return; } using ( message ) { ExportCategories.ProcessCategories(message, _contact); OutlookSession.SaveChanges(_newCreated, "Export contact for resource id = " + _contact.Id, message, message.GetBinProp(MAPIConst.PR_ENTRYID)); } }
private void SetCategories(IEMAPIProp message) { ExportCategories.ProcessCategories(message, _contact); }