// Token: 0x0600055C RID: 1372 RVA: 0x00014A0C File Offset: 0x00012C0C
 protected override void InternalProvisioningValidation()
 {
     ProvisioningValidationError[] array = ProvisioningLayer.Validate(this, this.ConvertDataObjectToPresentationObject(this.DataObject));
     if (array != null && array.Length > 0)
     {
         foreach (ProvisioningValidationError provisioningValidationError in array)
         {
             ProvisioningValidationException exception = new ProvisioningValidationException(provisioningValidationError.Description, provisioningValidationError.AgentName, provisioningValidationError.Exception);
             this.WriteError(exception, (ErrorCategory)provisioningValidationError.ErrorCategory, null, false);
         }
     }
 }
예제 #2
0
 protected override void InternalProvisioningValidation()
 {
     ProvisioningValidationError[] array = ProvisioningLayer.Validate(this, null);
     if (array != null && array.Length > 0)
     {
         for (int i = 0; i < array.Length; i++)
         {
             ProvisioningValidationException exception = new ProvisioningValidationException(array[i].Description, array[i].AgentName, array[i].Exception);
             this.WriteError(exception, (ErrorCategory)array[i].ErrorCategory, null, array.Length - 1 == i);
         }
     }
 }