Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# visualstudio中的调度程序问题_C#_Wpf_Visual Studio 2010 - Fatal编程技术网

C# visualstudio中的调度程序问题

C# visualstudio中的调度程序问题,c#,wpf,visual-studio-2010,C#,Wpf,Visual Studio 2010,我试图在课堂上使用这种方法。IntelliSense和文档显示此方法有9个重载,但是IntelliSense只提供了其中4个选项来实现,尽管我可以实现重载列表中没有显示的选项。出了什么问题,如何解决? 谢谢有些MEBMER标有 [EditorBrowsable(EditorBrowsableState.Never)] [EditorBrowsable(EditorBrowsableState.Advanced)] 而且永远不会被智能感知显示出来 其他成员都标有 [EditorBrowsabl

我试图在课堂上使用这种方法。IntelliSense和文档显示此方法有9个重载,但是IntelliSense只提供了其中4个选项来实现,尽管我可以实现重载列表中没有显示的选项。出了什么问题,如何解决?
谢谢

有些MEBMER标有

[EditorBrowsable(EditorBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
而且永远不会被智能感知显示出来

其他成员都标有

[EditorBrowsable(EditorBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
要向他们展示,请使用工具|选项|文本编辑器| C#|语句完成|隐藏高级成员


有关的详细信息。

我知道了。你知道为什么这样一个重要的方法可以让你修改UI线程上的控件而不被设计器看到吗?不知道,但是你甚至不必使用这个方法。你可以只检查Dispatcher.thread==thread.CurrentThread。