Ejemplo n.º 1
0
        /// <summary>
        /// Deletes an existing hosted service and any deployments associated with it
        /// </summary>
        /// <param name="name">the name of the hosted service</param>
        /// <returns>An IServiceCompleteActivity interface</returns>
        void IHostedServiceActivity.DeleteExistingHostedService(string name)
        {
            HostedServiceName = name;
            ActionType        = ActionType.Delete;
            var action = new HostedServiceActivity(this);

            action.Delete();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Used to create a hosted service only without an attached deployment
        /// </summary>
        void IDeploymentConfigurationParamActivity.GoHostedServiceDeployment()
        {
            var create = new HostedServiceActivity(this);

            create.Create();
        }