[SoapDocumentMethodAttribute("Ping",
RequestNamespace = "http://tempuri.org/",
ResponseNamespace = "http://tempuri.org/",
Use = System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[SoapDocumentMethod("Ping")]
public string Ping(string pingString)
{
return pingString;
}
Task t = Task.Factory.StartNew(() =>
{
while (true)
{
tick++;
Console.WriteLine(cashee.Count + "\tWrite/Remove: " + rw_counter.ToString() + "\tTick: " + tick.ToString());
Thread.Sleep(1000);
}
});
t.Wait();
Console.ReadKey();