System.Web.UI.DataSourceViewOperationCallback Delegate

Represents the asynchronous callback method that a data-bound control supplies to a data source view for asynchronous insert, update, or delete data operations.

Syntax

public delegate bool DataSourceViewOperationCallback (int recordsAffected, Exception exception)

Parameters

recordsAffected
Documentation for this section has not yet been entered.
exception
Documentation for this section has not yet been entered.

Value

Documentation for this section has not yet been entered.

Remarks

By default, ASP.NET Web page and control execution is synchronous. However, data source controls can be extended to support asynchronous data retrieval and data operations. The System.Web.UI.DataSourceView object supports the DataSourceView.Insert(IDictionary, DataSourceViewOperationCallback), DataSourceView.Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback), and DataSourceView.Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) methods for asynchronous data processing. The System.Web.UI.DataSourceViewOperationCallback delegate is passed to the data source view by a data-bound control, so that the view can call this delegate when asynchronous processing is complete and notify the data-bound control of the operation's outcome.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0