Upravit

Sdílet prostřednictvím


DataSourceView.RaiseUnsupportedCapabilityError(DataSourceCapabilities) Method

Definition

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

protected public:
 virtual void RaiseUnsupportedCapabilityError(System::Web::UI::DataSourceCapabilities capability);
protected internal virtual void RaiseUnsupportedCapabilityError (System.Web.UI.DataSourceCapabilities capability);
abstract member RaiseUnsupportedCapabilityError : System.Web.UI.DataSourceCapabilities -> unit
override this.RaiseUnsupportedCapabilityError : System.Web.UI.DataSourceCapabilities -> unit
Protected Friend Overridable Sub RaiseUnsupportedCapabilityError (capability As DataSourceCapabilities)

Parameters

capability
DataSourceCapabilities

One of the DataSourceCapabilities values that is compared against the capabilities that the view supports.

Exceptions

The data source view does not support the data source capability specified.

Remarks

The RaiseUnsupportedCapabilityError method is used by the data source view to examine each of the capabilities requested by a data-bound control, represented by the DataSourceSelectArguments object passed to the Select method, and compare it to the capabilities supported by the data source view.

Applies to