PluginFramework.AddIn.Core.Framework.UninstallBundle C# (CSharp) Method

UninstallBundle() public method

public UninstallBundle ( int id ) : void
id int
return void
        public void UninstallBundle(int id)
        {
            try
            {
                IBundle bundle = bundleRepository.GetBundle(id);
                bundleRepository.Unregister(bundle);
            }
            catch (Exception ex)
            {
                throw new BundleException("Uninstall bundle threw a exception.", ex);
            }
        }