private void LoadPublishedCalendarOptions() { this.publishedOptions = (MailboxCalendarFolder)UserConfigurationDictionaryHelper.Fill(new MailboxCalendarFolder(), MailboxCalendarFolder.CalendarFolderConfigurationProperties, (bool createIfNonexisting) => UserConfigurationHelper.GetPublishingConfiguration(base.MailboxSession, base.FolderId, createIfNonexisting)); if (this.publishedOptions == null) { ExTraceGlobals.SharingTracer.TraceError <string, StoreObjectId>((long)this.GetHashCode(), "{0}: Cannot find published options on folder {1}.", base.OwnerDisplayName, base.FolderId); throw new FolderNotPublishedException(); } if (!this.publishedOptions.PublishEnabled) { ExTraceGlobals.SharingTracer.TraceError <string, StoreObjectId>((long)this.GetHashCode(), "{0}: Published options indicates disabled on folder {1}.", base.OwnerDisplayName, base.FolderId); throw new FolderNotPublishedException(); } }
public MRSRequestMailboxEntry(UserConfiguration userConfiguration) { UserConfigurationDictionaryHelper.Fill(userConfiguration, this, MRSRequestSchema.PersistedProperties); }