2

如何取消注册 RemotingConfiguration 取消注册众所周知的类型

4

3 回答 3

1

这可能对你有帮助吗?

http://www.codeproject.com/KB/dotnet/Advanced_Remoting.aspx

于 2009-04-09T21:57:50.363 回答
0

尝试 ChannelServices.UnregisterChannel

于 2011-08-17T18:06:06.977 回答
0

我刚刚通过以下方式实现了这一目标:

RemotingServices.Disconnect(registeredTypeInstance);

注册后使用:

RemotingServices.Marshal(registeredTypeInstance, name, type);

有关 RemotingService.Marshal 的更多信息,请参阅此问题

于 2013-08-09T18:43:29.160 回答