LinqDataSourceView.ContextCreating LinqDataSourceView.ContextCreating LinqDataSourceView.ContextCreating LinqDataSourceView.ContextCreating Event

Definition

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) 

Remarks

Handle this event if you want to manually construct the data context object. For more information, see the LinqDataSource.ContextCreating event.

Applies to