.NET Remoting序列化 [英] .NET Remoting serialization

查看:117
本文介绍了.NET Remoting序列化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在尝试使用.net远程构建一个简单的聊天应用程序

当远程处理对象中的字符串被更改时,远程对象将会上升应该由客户端处理的事件,所以当我尝试将处理程序附加到

-i am使用vb.net-事件(AddHandler mRemoteObject.TextChanged,AddressOf UpdateUI)

i得到此异常

类型System.DelegateSerializationHolder和从它派生的类型(例如System.DelegateSerializationHolder)不允许在此安全级别反序列化。

Hello there,
I am trying to build a simple chatting application using .net remoting
When the string in the remoting object is changed the remoting object will rise an event which should be handled by the clients, so when i try to attach the Handler to
-i am using vb.net- the event (AddHandler mRemoteObject.TextChanged, AddressOf UpdateUI)
i get this exception
Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level.

推荐答案

关于.NET Remoting事件的文章可以在codeproject上找到

就像这样:



.NET Remoting事件说明
Articles about .NET Remoting events can be found on codeproject
like this one:

.NET Remoting Events Explained


这篇关于.NET Remoting序列化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆