- providerName
- The name of one of the System.Web.SiteMapProvider objects currently registered in the SiteMap.Providers.
- parentNode
- A site map node of the current site map provider under which the root node and all nodes of the child provider is added.
The XmlSiteMapProvider.AddProvider(string, SiteMapNode) method links providerName to the current provider as a child of the current provider. The root node of providerName is added to the hierarchy for the current provider as a child node of parentNode. Because the parent provider calls the XmlSiteMapProvider.BuildSiteMap method on providerName, the exceptions that are described in the XmlSiteMapProvider.BuildSiteMap method might be thrown.