Share via


LinqDataSourceInsertEventArgs 建構函式

定義

初始化 LinqDataSourceInsertEventArgs 類別的新執行個體。

多載

LinqDataSourceInsertEventArgs(Object)

初始化 LinqDataSourceInsertEventArgs 類別的新執行個體。

LinqDataSourceInsertEventArgs(LinqDataSourceValidationException)

初始化 LinqDataSourceInsertEventArgs 類別的新執行個體,並指定提供的例外狀況。

LinqDataSourceInsertEventArgs(Object)

初始化 LinqDataSourceInsertEventArgs 類別的新執行個體。

public:
 LinqDataSourceInsertEventArgs(System::Object ^ newObject);
public LinqDataSourceInsertEventArgs (object newObject);
new System.Web.UI.WebControls.LinqDataSourceInsertEventArgs : obj -> System.Web.UI.WebControls.LinqDataSourceInsertEventArgs
Public Sub New (newObject As Object)

參數

newObject
Object

包含要插入之資料的物件。

適用於

LinqDataSourceInsertEventArgs(LinqDataSourceValidationException)

初始化 LinqDataSourceInsertEventArgs 類別的新執行個體,並指定提供的例外狀況。

public:
 LinqDataSourceInsertEventArgs(System::Web::UI::WebControls::LinqDataSourceValidationException ^ exception);
public LinqDataSourceInsertEventArgs (System.Web.UI.WebControls.LinqDataSourceValidationException exception);
new System.Web.UI.WebControls.LinqDataSourceInsertEventArgs : System.Web.UI.WebControls.LinqDataSourceValidationException -> System.Web.UI.WebControls.LinqDataSourceInsertEventArgs
Public Sub New (exception As LinqDataSourceValidationException)

參數

exception
LinqDataSourceValidationException

在驗證要插入的資料時所發生的例外狀況。

適用於