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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.