Beispiel #1
0
        /// <summary>
        /// Adds or Updates the service application.
        /// </summary>
        /// <param name="serviceApp">The service application.</param>
        public void UpdateServiceApp(ServiceApp serviceApp)
        {
            this.TryExecute(
                () =>
            {
                IServiceAppClient client = this.factory.Create <IServiceAppClient>();
                client.UpdateServiceApp(serviceApp);
            },
                true);

            this.LoadServiceApps();
            this.GetServiceAppDetails(serviceApp.Name);
        }