백그라운드 에이전트에서도 디스패처 (따라서 UI 스레드)를 사용할 수 있습니다.
protected override void OnInvoke(ScheduledTask task)
{
Deployment.Current.Dispatcher.BeginInvoke(() =>
{
// Use the WriteableBitmap here
this.NotifyComplete();
});
}
출처
https://stackoverflow.com/questions/22008891