My application users have an exception when a UWP application calls this: Windows.ApplicationModel.Resources.Core.ResourceContext.GetForCurrentView ()
Exception: 'STOWED_EXCEPTION_System. UnauthorizedAccessException .
I call ResourceContext.GetForCurrentView to get "LayoutDirection".
I did not find information about this problem in MSDN and other sources.
Please tell me how can I get "LayoutDirection" in another way or throw an exception?
Thank.
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
source
share