Exception:无法为“Automatic”的 Duration 值返回 TimeSpan 属性值。在从 Duration 请求 TimeSpan 属性值之前,检查 HasTimeSpan 属性。

报错信息

InvalidOperationException: 无法为“Automatic”的 Duration 值返回 TimeSpan 属性值。在从 Duration 请求 TimeSpan 属性值之前,检查 HasTimeSpan 属性。
StackTrace:
   在 System.Windows.Duration.get_TimeSpan()
   在 DynamicClass.Timer_Tick(Object sender, EventArgs e)
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 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)

 

解决方法

暂无解决方案。

相关信息
3 查看
5天11小时前
Quicker版本
版本 反馈次数
1.44.1 1
1.44.0 1
1.43.68 1