Exemplo n.º 1
0
 public void CallLongCompute(int x, int y, string clientID)
 {
     try
     {
         proxy = new PS.LongComputeClient(new System.ServiceModel.InstanceContext(this), "PSEP");
         proxy.Compute(x, y, clientID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public void CallLongCompute(int x, int y, string clientID)
 {
     try
     {
         proxy = new PS.LongComputeClient(new System.ServiceModel.InstanceContext(this),
                                          "PSEP"); // PSEP is the name of client endpoint
                                                   // for calling ILongCompute interface in service
         proxy.Compute(x, y, clientID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }