Why custom IClientChannelSinkProvider not called?  
Author Message
Pranav joshi

PostPosted: .NET Remoting and Runtime Serialization, Why custom IClientChannelSinkProvider not called? Top

Hi Everybody,
Why Custom IClientChannelSinkProvider not being called, The client side code is like this.
The class ClientChnSinkProvider implements IClientChannelSinkProvider but it is not being called, On debugging the constructor of ClientChnSinkProvider is not called. But if I use
Configuration file then it is called.
The code is in Delphi but it is easily understandable.

Props := HashTable.Create;
Props['port'] := 6000;

bChannel := HttpClientChannel.create(Props, ClientChnSinkProvider);
// RemotingConfiguration.Configure( 'PrjServer.exe.config');
TestInt := ITest(Activator.GetObject(TypeOf(ITest),ServerPath + ServerResource));

.NET Development37