コード例 #1
0
        /// <summary>
        /// Returns a custom binding element object with default values.
        /// </summary>
        /// <returns>A custom BindingElement object with default values.</returns>
        protected override TransportBindingElement CreateDefaultBindingElement()
        {
            HttpTransportBindingElementWithWSDL retval =
                new HttpTransportBindingElementWithWSDL();

            return(retval);
        }
コード例 #2
0
        /// <summary>
        /// Creates a new instance that is a copy of the current binding element.
        /// </summary>
        /// <returns>A new instance that is a copy of the current binding element.</returns>
        public override BindingElement Clone()
        {
            HttpTransportBindingElementWithWSDL retval = new HttpTransportBindingElementWithWSDL(this);

            return(retval);
        }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the HttpTransportBindingElementWithWSDL class using another binding element.
 /// </summary>
 /// <param name="elementToBeCloned">An HttpTransportBindingElementWithWSDL object used to initialize this instance.</param>
 public HttpTransportBindingElementWithWSDL(HttpTransportBindingElementWithWSDL elementToBeCloned) : base(elementToBeCloned)
 {
 }