问题
My users of the application have an exception when UWP app call this: Windows.ApplicationModel.Resources.Core.ResourceContext.GetForCurrentView()
Exception: 'STOWED_EXCEPTION_System.UnauthorizedAccessException'.
I am call ResourceContext.GetForCurrentView for receive "LayoutDirection".
I did not find information about this problem in MSDN and other sources.
Please, tell me, how i can get "LayoutDirection" other way or eliminate exception?
Thanks.
EDIT
$44_System::Runtime::InteropServices::WindowsRuntime::IMapViewSharedReferenceTypesStubClass.Lookup_System.__Canon,_System.__Canon_
$44_System::Runtime::InteropServices::WindowsRuntime::IMapSharedReferenceTypesRCWAdapter.Lookup_System.__Canon,_System.__Canon_$catch$0
$44_System::Runtime::InteropServices::WindowsRuntime::IMapSharedReferenceTypesRCWAdapter.TryGetValue_System.__Canon,_System.__Canon_
$44_Windows::Web::Http::Headers::HttpRequestHeaderCollection.global::System.Collections.Generic.IDictionary_System.String,System.String_.TryGetValue
App::_Activated_d__6.MoveNext
来源:https://stackoverflow.com/questions/44406783/resourcecontext-getforcurrentview-call-exception