共用方式為


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>

適用於