Esempio n. 1
0
        public static ToastNotificationLaunchArguments FromXmlString(string xmlString)
        {
            ToastNotificationLaunchArguments result = null;

            try
            {
                result = XmlDataContractSerializationHelper.FromXml <ToastNotificationLaunchArguments>(xmlString);
            }
            catch (Exception)
            {
                result = null;
            }
            return(result);
        }
Esempio n. 2
0
 public string ToXmlString()
 {
     return(XmlDataContractSerializationHelper.ToXml(this));
 }