Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DynamicValidatorEventArgs::Operation Property

 

Gets the data source operation that caused an exception in the DynamicValidator class.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
property DynamicDataSourceOperation Operation {
	DynamicDataSourceOperation get();
}

Property Value

Type: System.Web.DynamicData::DynamicDataSourceOperation

The data source operation that caused the exception.

ASP.NET Dynamic Data provides data source operation that can be performed by the data source object. These operations include Delete, Insert, Select and Update and ContextCreate. If an exception occurs, the DynamicValidator class uses this property to retrieve the operation that triggered that exception.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft