Beispiel #1
0
        /// <summary>
        /// Used to disconnect from Push Service
        /// </summary>
        /// <returns>0 for success, other values for failure</returns>
        public int PushDisconnect()
        {
            Console.WriteLine("Push Disconnect");
            try
            {
                PushClient.PushServiceDisconnect();
            }
            catch (Exception e)
            {
                Console.WriteLine("Caught Exception: " + e.ToString());
                return(-1);
            }

            return(0);
        }