EntityDataSourceView.ContextDisposing 事件

定义

在释放 ObjectContext 之前发生。

public:
 event EventHandler<System::Web::UI::WebControls::EntityDataSourceContextDisposingEventArgs ^> ^ ContextDisposing;
public event EventHandler<System.Web.UI.WebControls.EntityDataSourceContextDisposingEventArgs> ContextDisposing;
member this.ContextDisposing : EventHandler<System.Web.UI.WebControls.EntityDataSourceContextDisposingEventArgs> 
Public Custom Event ContextDisposing As EventHandler(Of EntityDataSourceContextDisposingEventArgs) 

事件类型

EventHandler<EntityDataSourceContextDisposingEventArgs>

适用于