Exemple #1
0
        /// <summary>
        /// Starts the service application.
        /// </summary>
        /// <param name="serviceApp">The service app to start.</param>
        public void StartServiceApp(ServiceApp serviceApp)
        {
            this.TryExecute(
                () =>
            {
                IServiceAppClient client = this.factory.Create <IServiceAppClient>();
                client.StartServiceApp(serviceApp.Name);
            },
                true);

            this.LoadServiceApps();
        }