Beispiel #1
0
 private Connection()
 {
     gdaProxy = new NetworkModelGDAProxy("NetworkModelGDAEndpoint");
     try
     {
         gdaProxy.Open();
     }
     catch
     {
         MessageBox.Show("Service host is not started.");
     }
 }
Beispiel #2
0
 public TestGda()
 {
     if (gdaQueryProxy == null)
     {
         gdaQueryProxy = new NetworkModelGDAProxy("NetworkModelGDAEndpoint");
         try
         {
             gdaQueryProxy.Open();
         }
         catch
         {
         }
     }
 }