0

when I call this in a async task in my app in assigned access

await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => OnFaceDetected(false));

I'm became this error :

System.NullReferenceException: Object reference not set to an instance of an object.

but when I run the app wihtout the assigned access all works fine

0 Answers0