public void Copy(X509RecipientCertificateServiceElement from)
 {
     if (this.IsReadOnly())
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(System.ServiceModel.SR.GetString("ConfigReadOnly")));
     }
     if (from == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("from");
     }
     this.FindValue     = from.FindValue;
     this.StoreLocation = from.StoreLocation;
     this.StoreName     = from.StoreName;
     this.X509FindType  = from.X509FindType;
 }
 public void Copy(X509RecipientCertificateServiceElement from)
 {
     if (this.IsReadOnly())
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(System.ServiceModel.SR.GetString("ConfigReadOnly")));
     }
     if (from == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("from");
     }
     this.FindValue = from.FindValue;
     this.StoreLocation = from.StoreLocation;
     this.StoreName = from.StoreName;
     this.X509FindType = from.X509FindType;
 }