Delete() public method

public Delete ( ) : void
return void
        /// <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();
        }