Ejemplo n.º 1
0
        public async Task UpdateSDKAsync(string configuration, Action <string, int> UpdateCompleted)
        {
            Progress progress  = null;
            var      taskBuild = CreateProgressTask(ref progress, UpdateCompleted);

            var task = api.ApplicationUpdatesdkAsync(this.Id, configuration, progress?.Id);
            await Task.Run(taskBuild);

            await task; // in this way exceptions will be generated
        }