Documentation for this section has not yet been entered.
Enumerating through a System.Web.SiteMapNodeCollection collection is intrinsically not a thread safe procedure. Even when a System.Web.SiteMapNodeCollection is synchronized, other threads can still modify the System.Web.SiteMapNodeCollection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the System.Web.SiteMapNodeCollection during the entire enumeration or catch the exceptions resulting from changes that are made by other threads.