public override int EndRead() { int retval = 0; try { if (this.activity != null) { ExceptionUtility.UseActivityId(this.activity.Id); } retval = base.EndRead(); } finally { ExceptionUtility.ClearActivityId(); } return(retval); }