public RefreshAsync ( Twitter tw, bool startup, IProgress |
||
tw | ||
startup | bool | |
progress | IProgress |
|
Результат | System.Threading.Tasks.Task |
private async Task GetRelatedTweetsAsync(RelatedPostsTabModel tab) { await this.workerSemaphore.WaitAsync(); try { await tab.RefreshAsync(this.tw, this._initial, this.workerProgress); this.RefreshTimeline(); } catch (WebApiException ex) { this._myStatusError = true; this.StatusLabel.Text = $"Err:{ex.Message}(GetRelatedTweets)"; } finally { this.workerSemaphore.Release(); } }