Есть server-activated singleton. Пытаюсь подписаться на его событие типа EventHanlder с клиента. Вываливает ошибку:
Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level.
Тож как правильно подписываться на события remoting-объектов?
Здравствуйте, Ugnetator, Вы писали:
U>Тож как правильно подписываться на события remoting-объектов?
Поиск тебе поможет.
... << RSDN@Home 1.2.0 alpha 4 rev. 1111 on Windows Vista 6.0.6001.65536>>
Здравствуйте, Ugnetator, Вы писали:
U>Есть server-activated singleton. Пытаюсь подписаться на его событие типа EventHanlder с клиента. Вываливает ошибку:
U>Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level.
U>Тож как правильно подписываться на события remoting-объектов?
// need this or we can't use delegates and remoting.
BinaryServerFormatterSinkProvider serverProv = new BinaryServerFormatterSinkProvider();
serverProv.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;
BinaryClientFormatterSinkProvider clientProv = new BinaryClientFormatterSinkProvider();
здесь
Здравствуйте, Ugnetator, Вы писали:
U>Есть server-activated singleton. Пытаюсь подписаться на его событие типа EventHanlder с клиента. Вываливает ошибку:
U>Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level.
U>Тож как правильно подписываться на события remoting-объектов?
Достал книгу "Advanced .NET Remoting". Все вопросы отпали

Всем спасибо за ответы