Compares the capabilities requested for an DataSourceView.ExecuteSelect(DataSourceSelectArguments) operation against those that the specified data source view supports.
The DataSourceSelectArguments.RaiseUnsupportedCapabilitiesError(DataSourceView) method is used by data-bound controls to compare additional requested capabilities represented by the properties of the System.Web.UI.DataSourceSelectArguments class, such as the ability to sort or page through a result set, with the capabilities supported by the data source view. The view calls its own DataSourceView.RaiseUnsupportedCapabilityError(DataSourceCapabilities) method for each possible capability defined in the System.Web.UI.DataSourceCapabilities enumeration.
If any of the System.Web.UI.DataSourceSelectArguments properties are set, but the currently bound data source control does not support the requested capability, an InvalidOperationException exception is thrown when the DataSourceSelectArguments.RaiseUnsupportedCapabilitiesError(DataSourceView) method is called.