Torna al Thread

BasicHttpBinding bindingType = new BasicHttpBinding(); EndpointAddress epAddress = new EndpointAddress(add); // add: http://localhost:12345/Service ChannelFactory<IContract> _factory = new ChannelFactory<IContract>(bindingType, epAddress); IContract _channel = _factory.CreateChannel(); long ticks = _channel .Ping(Environment.TickCount);
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5