When you create code from a WSDL file using SvcUtil.exe, among many types an interface is created that comes from both the service interface and IClientChannel.
If, for example, the created service interface is called IMyService, it also creates this interface:
public interface IMyServiceChannel :
IMyService, System.ServiceModel.IClientChannel
Why does he define this interface? As far as I can tell, it is not referenced anywhere in the automatically generated code.
source
share