Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft