A
Aurelio Sablone
How can I unregister WellKnownClientType on my client?
I have the following code on my client:
Dim channel As New TcpChannel
ChannelServices.RegisterChannel(channel)
RemotingConfiguration.RegisterWellKnownClientType(GetType
(IServerRemoteObject), "tcp://max5_server:52000/MaximeyesRe
motingServices/ServerSqlBroker")
Now, if the connection to this remote object happens to
fail, I'd like to unregister the above and register the
same type of remote object which is running on another
server.
I tried just running the command again using a different
server in the URI, but this raises an exception.
Does anyone know how I can unregister this on the client?
Thanks!
Aurelio.
I have the following code on my client:
Dim channel As New TcpChannel
ChannelServices.RegisterChannel(channel)
RemotingConfiguration.RegisterWellKnownClientType(GetType
(IServerRemoteObject), "tcp://max5_server:52000/MaximeyesRe
motingServices/ServerSqlBroker")
Now, if the connection to this remote object happens to
fail, I'd like to unregister the above and register the
same type of remote object which is running on another
server.
I tried just running the command again using a different
server in the URI, but this raises an exception.
Does anyone know how I can unregister this on the client?
Thanks!
Aurelio.