protected ComponentInfoBasedTask() { this.monadConnection = new MonadConnection("pooled=false"); this.monadConnection.Open(); if (ExManagementApplicationLogger.IsLowEventCategoryEnabled(4)) { this.IsCmdletLogEntriesEnabled = true; base.Fields["CmdletLogEntriesEnabled"] = new bool?(true); } base.Fields["InstallationMode"] = InstallationModes.Unknown; base.Fields["IsDatacenter"] = new SwitchParameter(false); base.Fields["IsDatacenterDedicated"] = new SwitchParameter(false); base.Fields["IsPartnerHosted"] = new SwitchParameter(false); object[] customAttributes = base.GetType().GetCustomAttributes(typeof(CmdletAttribute), false); this.taskVerb = ((CmdletAttribute)customAttributes[0]).VerbName; this.taskNoun = ((CmdletAttribute)customAttributes[0]).NounName; this.implementsResume = true; this.isResuming = false; }