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 DynamicDataSourceOperation Operation { 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