Esempio n. 1
0
 public SendVoiceMessageToUserType(pSendVoiceMessageToUserType pPVMT)
     : base(pPVMT.Time)
 {
     this.decisionMakerID = pPVMT.DecisionMakerID;
     this.filePath = pPVMT.FilePath;
 }
Esempio n. 2
0
        public override pSendVoiceMessageToUserType pGetSendVoiceMessageToUser()
        {
            string user = "******";
            string fileName;
            int time;
            try
            {
                pSendVoiceMessageToUserType returnValue;
                reader.Read();
                user = pGetString();
                fileName = pGetString();
                time = pGetInt();
                reader.ReadEndElement();
                returnValue = new pSendVoiceMessageToUserType(user, fileName, time);
                return returnValue;

            }
            catch (SystemException e)
            {
                throw new ApplicationException("Could not read SendChatMessageToUser for user " + user);
            }
        }