Exemplo n.º 1
0
        public void Deploy()
        {
            // Attempt to cancel any previously deployed service
            services.Cancel(ServiceName);

            services.Deploy(new ServiceConfiguration()
            {
                Name            = ServiceName,
                Service         = new SurveyedSurfaceService(StorageMutability.Immutable),
                TotalCount      = 1,
                MaxPerNodeCount = 1,
                NodeFilter      = new PSNodeRoleBasedNodeFilter()
            });

            proxy = services.GetServiceProxy <ISurveyedSurfaceService>(ServiceName);
        }
Exemplo n.º 2
0
 /** <inheritDoc /> */
 public void Cancel(string name)
 {
     _services.Cancel(name);
     WaitResult();
 }