/// <summary> /// Parameterized constructor /// </summary> public SoapSqlTransport( XmlNodeList configData ) : this() { //Set default transport options, override with config settings if needed. _options = new SoapSqlTransportOptions( ); //Process any configuration data if ( configData != null ) { string value; foreach ( XmlNode node in configData ) { XmlElement child = node as XmlElement; if ( child != null ) { switch ( child.LocalName ) { case "connectionString": value = child.GetAttribute( "value" ); _options.ConnectionString = value; break; default: break; } } } } }
public object Clone( ) { SoapSqlTransportOptions clone = new SoapSqlTransportOptions( ); clone.ConnectionString = _connectionString; return clone; }