LinqDataSourceView.ContextCreated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs after an instance of the context type object has been created.
public:
event EventHandler<System::Web::UI::WebControls::LinqDataSourceStatusEventArgs ^> ^ ContextCreated;
public event EventHandler<System.Web.UI.WebControls.LinqDataSourceStatusEventArgs> ContextCreated;
member this.ContextCreated : EventHandler<System.Web.UI.WebControls.LinqDataSourceStatusEventArgs>
Public Custom Event ContextCreated As EventHandler(Of LinqDataSourceStatusEventArgs)
Event Type
Remarks
Handle this event if you want to validate the data context object, or if you want to handle exceptions that were thrown during the context creation. For more information, see the LinqDataSource.ContextCreated event.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.