Exception:值不在预期的范围内。值不在预期的范围内。

报错信息 1
ArgumentException: 值不在预期的范围内。
--Message: 值不在预期的范围内。
StackTrace:
   在 System.Windows.Media.Composition.DUCE.Channel.ReleaseOnChannel(ResourceHandle handle)
   在 System.Windows.Media.Composition.DUCE.MultiChannelResource.ReleaseOnChannel(Channel channel)
   在 System.Windows.Media.TransformGroup.ReleaseOnChannelCore(Channel channel)
   在 System.Windows.Media.Transform.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel)
   在 System.Windows.Media.TransformGroup.ReleaseOnChannelCore(Channel channel)
   在 System.Windows.Media.Transform.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel)
   在 System.Windows.Media.Visual.DisconnectAttachedResource(VisualProxyFlags correspondingFlag, IResource attachedResource)
   在 System.Windows.Media.Visual.set_VisualTransform(Transform value)
   在 System.Windows.FrameworkElement.SetLayoutOffset(Vector offset, Size oldRenderSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.ContextLayoutManager.UpdateLayout()
   在 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

ArgumentException: 值不在预期的范围内。
--Message: 值不在预期的范围内。
StackTrace:


版本:1.43.61 2026-09-07 07:08 Microsoft Windows NT 10.0.19045.0
报错信息 2
ArgumentException: 值不在预期的范围内。
--Message: 值不在预期的范围内。
StackTrace:
   在 System.Windows.Media.Composition.DUCE.Channel.ReleaseOnChannel(ResourceHandle handle)
   在 System.Windows.Media.Composition.DUCE.MultiChannelResource.ReleaseOnChannel(Channel channel)
   在 System.Windows.Media.RenderData.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel)
   在 System.Windows.Media.Visual.DisconnectAttachedResource(VisualProxyFlags correspondingFlag, IResource attachedResource)
   在 System.Windows.UIElement.RenderClose(IDrawingContent newContent)
   在 System.Windows.Media.RenderDataDrawingContext.DisposeCore()
   在 System.Windows.Media.DrawingContext.System.IDisposable.Dispose()
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.ContextLayoutManager.UpdateLayout()
   在 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

ArgumentException: 值不在预期的范围内。
--Message: 值不在预期的范围内。
StackTrace:


版本:1.44.22 2026-08-25 12:07 Microsoft Windows NT 10.0.19045.0