async void MediaPlayer_ScrubbingStarted(object sender, ScrubRoutedEventArgs e) { if (activePreloadOperation != null) { await activePreloadOperation.CancelAsync(); } }
void mediaPlayer_ScrubbingStarted(object sender, ScrubRoutedEventArgs e) { if (ScrubStarted != null) { ScrubStarted(this, EventArgs.Empty); } }
void mediaPlayer_ScrubbingStarted(object sender, ScrubRoutedEventArgs e) { if (ScrubStarted != null) ScrubStarted(this, EventArgs.Empty); }