Exception:The type initializer for 'System.Windows.Automation.ControlType' threw an exception.Exception of type 'System.OutOfMemoryException' was thrown.

报错信息

TypeInitializationException: The type initializer for 'System.Windows.Automation.ControlType' threw an exception.
--TypeName: System.Windows.Automation.ControlType
StackTrace:
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.ContextLayoutManager.fireAutomationEvents()
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
StackTrace:
   at System.Windows.Automation.ControlType..cctor()

 

解决方法

暂无解决方案。

相关信息
1 查看
2025-03-13 16:24
Quicker版本
版本 反馈次数