語言

LinqDataSourceInsertEventArgs 建構函式

定義

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

多載

名稱 Description
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

例外發生在要插入的資料正在驗證時。

適用於