微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

c# – Silverlight错误0x17E0

错误0x17E0.调试资源字符串不可用.见http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60129.0&File=mscorrc.dll&Key=0x17E0

有谁知道这个错误是什么?我试着在循环中打印时得到它.

 at RealForms.viewmodel.FormNewviewmodel.<Print>d__48.MoveNext()     at 
    RealForms.viewmodel.FormNewviewmodel.Print(Object parameter)     at 
    RealForms.viewmodel.FormNewviewmodel.<.ctor>b__6(Object param)     at 
    galaSoft.MvvmLight.Command.RelayCommand`1.Execute(Object parameter)     at 
    System.Windows.Controls.Primitives.ButtonBase.ExecuteCommand()     at 
    System.Windows.Controls.Primitives.ButtonBase.OnClick()     at 
    System.Windows.Controls.Button.OnClick()     at 
    System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)     
    at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)     at 
    MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedobj, IntPtr unmanagedobjArgs, Int32 
    argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

解决方法:

根据我的经验,该错误表示InvalidCastException.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐