XmlSiteMapProvider.Dispose Method (Boolean)

 

Notifies the file monitor of the Web.sitemap file that the XmlSiteMapProvider object no longer requires the file to be monitored. The Dispose method takes a Boolean parameter indicating whether the method is called by user code.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

protected virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System.Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

The Dispose method returns true if the Dispose method is called by user code. Otherwise it returns false, if the Dispose method is called by the finalizer thread during run time.

.NET Framework
Available since 2.0
Return to top
Show: