Ejemplo n.º 1
0
 protected override void InternalValidate()
 {
     TaskLogger.LogEnter();
     try
     {
         base.InternalValidate();
         if (!base.HasErrors)
         {
             this.ActiveDirectoryConnectivityContext = ActiveDirectoryConnectivityContext.CreateForActiveDirectoryConnectivity(this, this.monitoringData, (this.TargetDC != null) ? this.TargetDC.ToString() : null);
         }
     }
     catch (LocalizedException exception)
     {
         this.WriteError(exception, ErrorCategory.OperationStopped, this, true);
     }
     finally
     {
         TaskLogger.LogExit();
     }
 }
Ejemplo n.º 2
0
 internal ActiveDirectorySearchTask(ActiveDirectoryConnectivityContext context) : base(context)
 {
     base.CanContinue = !context.Instance.SkipRemainingTests;
 }
 internal ActiveDirectoryConnectivityOutcome(ActiveDirectoryConnectivityContext context, TestActiveDirectoryConnectivityTask.ScenarioId scenarioId, LocalizedString scenario, string performanceCounter, string domainController) : base(domainController, scenario, "", performanceCounter, string.Empty)
 {
     this.Id = scenarioId;
     this.ActiveDirectory = domainController;
 }
 protected ActiveDirectoryConnectivityBase(ActiveDirectoryConnectivityContext context)
 {
     this.context     = context;
     this.CanContinue = true;
 }