ScreenToGif.Windows.Options.CheckTempCallBack C# (CSharp) Метод

CheckTempCallBack() приватный Метод

private CheckTempCallBack ( IAsyncResult r ) : void
r IAsyncResult
Результат void
        private void CheckTempCallBack(IAsyncResult r)
        {
            try
            {
                //Error: It may throw an error when BeginInvoke before the end of the last one.
                _tempDel.EndInvoke(r);

                Dispatcher.Invoke(() =>
                {
                    FolderCountLabel.Content = _listFolders.Count();
                    FileCountLabel.Content = _fileCount;
                    ClearTempButton.IsEnabled = true;
                });
            }
            catch (Exception)
            { }
        }