System.Web.UI.DataSourceView.RaiseUnsupportedCapabilityError Method

Called by the DataSourceSelectArguments.RaiseUnsupportedCapabilitiesError(DataSourceView) method to compare the capabilities requested for an DataSourceView.ExecuteSelect(DataSourceSelectArguments) operation against those that the view supports.

Syntax

protected virtual void RaiseUnsupportedCapabilityError (DataSourceCapabilities capability)

Parameters

capability
One of the System.Web.UI.DataSourceCapabilities values that is compared against the capabilities that the view supports.

Remarks

The DataSourceView.RaiseUnsupportedCapabilityError(DataSourceCapabilities) method is used by the data source view to examine each of the capabilities requested by a data-bound control, represented by the System.Web.UI.DataSourceSelectArguments object passed to the DataSourceView.Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method, and compare it to the capabilities supported by the data source view.

Requirements

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