protected override void InternalTaskExecute() { base.InternalTaskExecute(); PropTag[] mapiPropTags = ConvertHelper.ConvertToMapiPropTags(this.propertyTags); PropRowSet mapiRowset = null; base.NspiContextCallWrapper("QueryRows", () => this.Context.QueryRows(this.flags, this.NspiState, this.mids, this.rowCount, mapiPropTags, out mapiRowset)); if (base.Status == NspiStatus.Success) { this.returnState = base.NspiState; this.returnRowset = ConvertHelper.ConvertFromMapiPropRowSet(mapiRowset, MarshalHelper.GetString8CodePage(base.NspiState)); base.TraceNspiState(); NspiDispatchTask.NspiTracer.TraceDebug <int>((long)base.ContextHandle, "Rows returned: {0}", (mapiRowset == null) ? 0 : mapiRowset.Rows.Count); } }
// Token: 0x060000C7 RID: 199 RVA: 0x00004E68 File Offset: 0x00003068 protected override void InternalTaskExecute() { base.InternalTaskExecute(); Restriction mapiRestriction = null; if (this.restriction != null) { mapiRestriction = ConvertHelper.ConvertToMapiRestriction(this.restriction); if (mapiRestriction == null) { throw new NspiException(NspiStatus.TooComplex, "Restriction too complex"); } } int[] midList = null; PropRowSet mapiRowset = null; PropTag[] mapiPropTags = ConvertHelper.ConvertToMapiPropTags(this.propertyTags); base.NspiContextCallWrapper("GetMatches", () => this.Context.GetMatches(this.NspiState, mapiRestriction, this.maxRows, mapiPropTags, out midList, out mapiRowset)); if (base.Status == NspiStatus.Success) { this.returnState = base.NspiState; this.returnMids = midList; this.returnRowset = ConvertHelper.ConvertFromMapiPropRowSet(mapiRowset, MarshalHelper.GetString8CodePage(base.NspiState)); base.TraceNspiState(); NspiDispatchTask.NspiTracer.TraceDebug <int>((long)base.ContextHandle, "Rows returned: {0}", (mapiRowset == null) ? 0 : mapiRowset.Rows.Count); } }
// Token: 0x06000110 RID: 272 RVA: 0x00005E64 File Offset: 0x00004064 protected override void InternalTaskExecute() { base.InternalTaskExecute(); if (this.target == null) { NspiDispatchTask.NspiTracer.TraceError((long)base.ContextHandle, "Target is null"); throw new NspiException(NspiStatus.GeneralFailure, "Target is null"); } PropValue mapiPropValue = ConvertHelper.ConvertToMapiPropValue(this.target.Value); PropTag[] mapiPropTags = ConvertHelper.ConvertToMapiPropTags(this.propertyTags); PropRowSet mapiRowset = null; base.NspiContextCallWrapper("SeekEntries", () => this.Context.SeekEntries(this.NspiState, mapiPropValue, this.restriction, mapiPropTags, out mapiRowset)); if (base.Status == NspiStatus.Success) { this.returnState = base.NspiState; this.returnRowset = ConvertHelper.ConvertFromMapiPropRowSet(mapiRowset, MarshalHelper.GetString8CodePage(base.NspiState)); base.TraceNspiState(); NspiDispatchTask.NspiTracer.TraceDebug <int>((long)base.ContextHandle, "Rows returned: {0}", (mapiRowset == null) ? 0 : mapiRowset.Rows.Count); } }