COMException: MILERR_WIN32ERROR (异常来自 HRESULT:0x88980003) StackTrace: 在 System.Windows.Media.Imaging.RenderTargetBitmap.FinalizeCreation() 在 System.Windows.Media.Imaging.RenderTargetBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat) 在 MS.Internal.AppModel.IconHelper.GenerateBitmapSource(ImageSource img, Size renderSize) 在 MS.Internal.AppModel.IconHelper.CreateIconHandleFromImageSource(ImageSource image, Size size) 在 MS.Internal.AppModel.IconHelper.GetIconHandlesFromImageSource(ImageSource image, IconHandle& largeIconHandle, IconHandle& smallIconHandle) 在 System.Windows.Window.UpdateIcon() 在 System.Windows.Window._OnIconChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 在 System.Windows.DependencyObject.InvalidateSubProperty(DependencyProperty dp) 在 System.Windows.Freezable.GetChangeHandlersAndInvalidateSubProperties(EventStorage& calledHandlers) 在 System.Windows.Freezable.FireChanged() 在 System.Windows.Media.Imaging.BitmapImage.OnDownloadCompleted(Object sender, EventArgs e) 在 System.Windows.Media.UniqueEventHelper.InvokeEvents(Object sender, EventArgs args) 在 System.Windows.Media.Imaging.LateBoundBitmapDecoder.DownloadCallback(Object arg) 在 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)