DataSourceView.RaiseUnsupportedCapabilityError(DataSourceCapabilities) 方法

定義

RaiseUnsupportedCapabilitiesError(DataSourceView) 方法呼叫,以比較針對 ExecuteSelect(DataSourceSelectArguments) 作業要求的功能與檢視支援的功能。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)

參數

capability
DataSourceCapabilities

其中一個 DataSourceCapabilities 值,與檢視支援的功能做比較。One of the DataSourceCapabilities values that is compared against the capabilities that the view supports.

例外狀況

資料來源檢視不支援指定的資料來源功能。The data source view does not support the data source capability specified.

備註

RaiseUnsupportedCapabilityError資料來源視圖會使用方法來檢查資料繫結控制項所要求的每個功能(由 DataSourceSelectArguments 傳遞給方法的物件表示),並將它與 Select 資料來源視圖所支援的功能做比較。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.

適用於