コード例 #1
0
        public static ParkedMeetingMessage Create(MailboxSession mailboxSession)
        {
            StoreObjectId storeObjectId = mailboxSession.GetDefaultFolderId(DefaultFolderType.ParkedMessages);

            if (storeObjectId == null)
            {
                storeObjectId = mailboxSession.CreateDefaultFolder(DefaultFolderType.ParkedMessages);
            }
            ParkedMeetingMessage parkedMeetingMessage = ItemBuilder.CreateNewItem <ParkedMeetingMessage>(mailboxSession, storeObjectId, ItemCreateInfo.ParkedMeetingMessageInfo);

            parkedMeetingMessage[StoreObjectSchema.ItemClass] = "IPM.Parked.MeetingMessage";
            return(parkedMeetingMessage);
        }
コード例 #2
0
 public new static ParkedMeetingMessage Bind(StoreSession session, StoreId storeId, params PropertyDefinition[] propertiesToReturn)
 {
     return(ParkedMeetingMessage.Bind(session, storeId, (ICollection <PropertyDefinition>)propertiesToReturn));
 }