コード例 #1
0
ファイル: Program.cs プロジェクト: mil-oss/fgsms
 static void Main(string[] args)
 {
     ServiceReference1.Service1Client service = new HelloWorldESMWCFLoadTester.ServiceReference1.Service1Client();
     try
     {
         int count = 0;
         while (true)
         {
             Console.Out.WriteLine(count.ToString() + service.WorkingGetData(5));
             count++;
         }
     }
     catch (Exception ex)
     {
         Console.Out.WriteLine(ex.Message);
     }
 }
コード例 #2
0
 static void Main(string[] args)
 {
     ServiceReference1.Service1Client service = new HelloWorldESMWCFLoadTester.ServiceReference1.Service1Client();
     try
     {
         int count = 0;
         while (true)
         {
             Console.Out.WriteLine(count.ToString() + service.WorkingGetData(5));
             count++;
         }
     }
     catch (Exception ex)
     {
         Console.Out.WriteLine(ex.Message);
     }
 }