/// <summary> /// Used when rejecting an item during upload request. Rejection may be due to validation errors or other /// business rules. The runtime will send an appropriate SyncError for this entity back to client. /// </summary> /// <param name="entity">The entity to reject</param> /// <param name="rejectDescription">Reason for rejecting the change</param> public void RejectChange(IOfflineEntity entity, string rejectDescription) { WebUtil.CheckArgumentNull(entity, "entity"); WebUtil.CheckArgumentNull(rejectDescription, "rejectDescription"); WebUtil.CheckArgumentEmpty(rejectDescription, "rejectDescription"); this._rejectedEntities[entity] = rejectDescription; }