DataSourceView.RaiseUnsupportedCapabilityError Method

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

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

Protected Friend Overridable Sub RaiseUnsupportedCapabilityError ( _
	capability As DataSourceCapabilities _
Dim capability As DataSourceCapabilities

protected void RaiseUnsupportedCapabilityError (
	DataSourceCapabilities capability
protected internal function RaiseUnsupportedCapabilityError (
	capability : DataSourceCapabilities
Not applicable.



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

Exception typeCondition


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

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0