ArgumentException: 值不在预期的范围内。 --Message: 值不在预期的范围内。 StackTrace: 在 System.Windows.Media.Composition.DUCE.Channel.ReleaseOnChannel(ResourceHandle handle) 在 System.Windows.Media.Composition.DUCE.MultiChannelResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.TranslateTransform.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.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.CompositionTarget.SetRootVisual(Visual visual) 在 System.Windows.Media.CompositionTarget.set_RootVisual(Visual value) 在 System.Windows.Interop.HwndTarget.set_RootVisual(Visual value) 在 System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) 在 System.Windows.Window.SourceWindowHelper.ClearRootVisual() 在 System.Windows.Window.CloseWindowFromWmClose() 在 System.Windows.Window.WmClose() 在 System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 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: