XmlSiteMapProvider.Dispose Method (Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

abstract Dispose : 
        disposing:bool -> unit
override Dispose : 
        disposing:bool -> unit

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: