public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            CallbackTimeoutsElement element = (CallbackTimeoutsElement)from;

            this.TransactionTimeout = element.TransactionTimeout;
        }
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            CallbackTimeoutsElement source = (CallbackTimeoutsElement)from;

#pragma warning suppress 56506 //Microsoft; base.CopyFrom() checks for 'from' being null
            this.TransactionTimeout = source.TransactionTimeout;
        }
		public void CallbackTimeoutsElement_defaults () {
			CallbackTimeoutsElement element = new CallbackTimeoutsElement ();

			Assert.AreEqual ("System.ServiceModel.Description.CallbackTimeoutsBehavior", element.BehaviorType.FullName, "BehaviorType");
			Assert.AreEqual ("callbackTimeouts", element.ConfigurationElementName, "ConfigurationElementName");
			Assert.AreEqual (new TimeSpan (0, 0, 0), element.TransactionTimeout, "TransactionTimeout");
		}