LinqDataSourceView.ContextCreating 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 before an instance of the context type object is created.
public:
event EventHandler<System::Web::UI::WebControls::LinqDataSourceContextEventArgs ^> ^ ContextCreating;
public event EventHandler<System.Web.UI.WebControls.LinqDataSourceContextEventArgs> ContextCreating;
member this.ContextCreating : EventHandler<System.Web.UI.WebControls.LinqDataSourceContextEventArgs>
Public Custom Event ContextCreating As EventHandler(Of LinqDataSourceContextEventArgs)
Event Type
Remarks
Handle this event if you want to manually construct the data context object. For more information, see the LinqDataSource.ContextCreating 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.