public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); MsmqTransportElement element = from as MsmqTransportElement; if (element != null) { this.MaxPoolSize = element.MaxPoolSize; this.QueueTransferProtocol = element.QueueTransferProtocol; this.UseActiveDirectory = element.UseActiveDirectory; } }
public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); MsmqTransportElement source = from as MsmqTransportElement; if (null != source) { this.MaxPoolSize = source.MaxPoolSize; this.QueueTransferProtocol = source.QueueTransferProtocol; this.UseActiveDirectory = source.UseActiveDirectory; } }