Re: problem unregistering channel
From: Ken Kolda (ken.kolda_at_elliemae-nospamplease.com)
Date: 08/16/04
- Next message: Phil Jones: "Re: IsProxy() ??"
- Previous message: Phl: "problem unregistering channel"
- In reply to: Phl: "problem unregistering channel"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Aug 2004 11:33:51 -0700
You shouldn't need to unregister your channel unless you want to stop using
it before your program terminates. So, I doubt this is the problem based on
the code you've shown.
Can you produce a small, functioning code sample that reproduces this error?
Ken
"Phl" <killkennyhouse@hotmail.com> wrote in message
news:55863e96.0408160819.52620c91@posting.google.com...
> hi
>
> In my cleint, I registered channel this way:
> TcpChannel chan = new TcpChannel();
> ChannelServices.RegisterChannel(chan);
>
> when i run my program again it complains that the channel has been
> registerd and bombs. So I do the following
>
> ChannelServices.UnregisterChannel(chan);
>
> It then complains that it can't find this chan. So I think that it's
> just trying to unregister a newly generated channel.
>
> How do find the existing registered channel, so I can unregister the
> existing channel?
>
> thx
- Next message: Phil Jones: "Re: IsProxy() ??"
- Previous message: Phl: "problem unregistering channel"
- In reply to: Phl: "problem unregistering channel"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|