Thanks for that; I've looked up these properties and found some discussions
on the subject for most people something like this seems to work
TcpChannel tcpChannel = new TcpChannel();
ChannelServices.RegisterChannel(tcpChannel, false);
remoteObj= Activator.GetObject(typeof(IRemoteObj),
"tcp://localhost:8085/RemoteObjName") as IRemoteObj;
IDictionary prop = ChannelServices.GetChannelSinkProperties(remoteObj);
prop.Add("timeout", 50);
remoteObj.DoSomething());
For me this does nothing I still have to wait about 30 seconds for the
DoSomething call to timeout.
Any idea what I might be doing wrong?
Cheers
code-hound
[quoted text, click to view] "NuTcAsE" <rao.ritesh@gmail.com> wrote in message
news:1138830945.550241.252980@g43g2000cwa.googlegroups.com...
> Full system.runtime.remoting section elements / properties and options:
>
>
http://msdn2.microsoft.com/z415cf9a(en-US,VS.80).aspx
>
> Configuration properties for all channels:
>
http://msdn2.microsoft.com/en-us/library/kw7c6kwc.aspx >
> The TcpChannel now has a timeout property that you can set...
>
> - NuTcAsE
>