แก้ไข

แชร์ผ่าน


LinqDataSourceUpdateEventArgs Constructors

Definition

Initializes a new instance of the LinqDataSourceUpdateEventArgs class.

Overloads

LinqDataSourceUpdateEventArgs(LinqDataSourceValidationException)

Initializes a new instance of the LinqDataSourceUpdateEventArgs class with the specified exception.

LinqDataSourceUpdateEventArgs(Object, Object)

Initializes a new instance of the LinqDataSourceUpdateEventArgs class.

LinqDataSourceUpdateEventArgs(LinqDataSourceValidationException)

Initializes a new instance of the LinqDataSourceUpdateEventArgs class with the specified exception.

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

Parameters

exception
LinqDataSourceValidationException

The exception that occurred when validating the data to update.

Applies to

LinqDataSourceUpdateEventArgs(Object, Object)

Initializes a new instance of the LinqDataSourceUpdateEventArgs class.

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

Parameters

originalObject
Object

An object of the type specified in the TableName property that contains the initial values that were retrieved from the data source.

newObject
Object

An object of the type specified in the TableName property that contains the values that will be saved in the data source.

Applies to