public IServiceHelloWCF(IIServiceHelloWCF service, ProtocolVersion version) : base(version) { // Set the service implementation properties m_service = service; // Set base service properties ServiceNamespace = new WsXmlNamespace("ise", "http://localhost/ServiceHelloWCF"); ServiceID = "urn:uuid:f4c30207-c2cb-493c-8a44-776c1e0ecc7e"; ServiceTypeName = "IServiceHelloWCF"; // Add service types here ServiceOperations.Add(new WsServiceOperation("http://localhost/ServiceHelloWCF/IServiceHelloWCF", "HelloWCF")); // Add event sources here }
public IServiceHelloWCF(IIServiceHelloWCF service) : this(service, new ProtocolVersion10()) { }