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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.