Esempio n. 1
0
        internal OwaMapiNotificationHandler(UserContext userContext, MailboxSession mailboxSession, OwaStoreObjectIdSessionHandle delegateSessionHandle)
        {
            this.mailboxSession        = mailboxSession;
            this.userContext           = userContext;
            this.delegateSessionHandle = delegateSessionHandle;
            this.owaStoreObjectIdType  = OwaStoreObjectId.GetOwaStoreObjectIdType(userContext, mailboxSession, out this.mailboxOwnerLegacyDN);
            StoreObjectId remindersSearchFolderId = this.userContext.RemindersSearchFolderId;

            this.emailPayload = new EmailPayload(userContext, mailboxSession, this);
            this.emailPayload.RegisterWithPendingRequestNotifier();
            this.searchPayload = new SearchPayload(userContext, mailboxSession, this);
            this.searchPayload.RegisterWithPendingRequestNotifier();
        }