public void Deserialize(XmlNode section)
{
XmlAttribute typeAtt = section.Attributes["type"];
if (typeAtt == null || typeAtt.Value == String.Empty)
{
String message = "To add a service, please specify the 'type' attribute. " +
"Check the documentation for more information";
throw new ConfigurationErrorsException(message);
}
extensionType = TypeLoadUtil.GetType(typeAtt.Value);
extensionNode = section;
}