private Command.ExecutionState ForwardUsingEntities(StoreObjectId smartId) { if (base.Occurrence != ExDateTime.MinValue) { base.ProtocolLogger.SetValue(ProtocolLoggerData.Error, "NoOccurrenceSupport"); throw new AirSyncPermanentException(HttpStatusCode.BadRequest, StatusCode.ServerError, null, false); } if (this.CalendaringContainer == null) { this.CalendaringContainer = new CalendaringContainer(base.MailboxSession, null); } if (this.StoreSession == null) { this.StoreSession = base.MailboxSession; } string key = EntitySyncItem.GetKey(this.StoreSession.MailboxGuid, smartId); IEvents events = EntitySyncItem.GetEvents(this.CalendaringContainer, this.StoreSession, smartId); events.Forward(key, this.forwardEventParameters, null); return(Command.ExecutionState.Complete); }