Beispiel #1
0
        public async void Run(IBackgroundTaskInstance taskInstance)
        {
            _backgroundTaskDeferral = taskInstance.GetDeferral();
            taskInstance.Canceled += TaskInstance_Canceled;

            _client = new SocketClient("192.168.0.31", 9000);
            await _client.ConnectAsync();

            var p = new Productor.Productor();
            Task t = p.BeginCreateLog(true, false);

            //ExampleTimer();
            ExampleRealTime();
        }