Επεξεργασία

Κοινή χρήση μέσω


LinqDataSourceView.ContextCreated Event

Definition

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