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.

相关文章

如何在Silverlight4(XAML)中绑定IsEnabled属性?我试过简单的...
我正在编写我的第一个vb.net应用程序(但我也会在这里标记c#,...
ProcessFile()是在UIThread上运行还是在单独的线程上运行.如...
我从同行那里听说,对sharepoint的了解对职业生涯有益.我们不...
我正在尝试保存一个类我的类对象的集合.我收到一个错误说明:...
我需要根据Silverlight中的某些配置值设置给定控件的Style.我...