该组件在DataGridTemplateColumn中使用AutoCompleteBox时不允许部分信任的呼叫者

StackOverflow https://stackoverflow.com/questions/2704306

  •  01-10-2019
  •  | 
  •  

我将使用datagrid的XBAP部分信任开发。该数据杂志具有一个TemplateColumn,该templatecolumn使用AutoCompletrateBox作为编辑元素。当单击该列的一个单元格时,抛出异常

System.Security.SecurityException: That assembly does not allow partially trusted callers.

任何的想法? tanx

有帮助吗?

解决方案

此问题在Visual Studio 2010中解决,可以在没有任何例外的情况下使用它

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top