LinqDataSource.ContextDisposing Event

 

Occurs before disposing the context type object.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

Public Event ContextDisposing As EventHandler(Of LinqDataSourceDisposeEventArgs)

You handle the ContextDisposing event to dispose the object manually, or to perform clean-up that is specific to the object before the object is destroyed.

.NET Framework
Available since 3.5
Return to top
Show: