예제 #1
0
 protected void UninstallEventManifest()
 {
     try
     {
         ManageEventManifest.Uninstall(this.DbFailureItemEventManifestFile);
         ManageEventManifest.Uninstall(this.CrimsonEventManifestFile);
     }
     catch (InvalidOperationException exception)
     {
         base.WriteError(exception, ErrorCategory.InvalidOperation, null);
     }
 }
예제 #2
0
        protected override void InternalProcessRecord()
        {
            TaskLogger.LogEnter();
            string manifestName = Path.Combine(ConfigurationContext.Setup.InstallPath, this.DefinitionXml);

            try
            {
                ManageEventManifest.Uninstall(manifestName);
            }
            catch (InvalidOperationException exception)
            {
                base.WriteError(exception, ErrorCategory.InvalidOperation, null);
            }
            TaskLogger.LogExit();
        }