The event handler receives an argument of type UnhandledDataExceptionEventArgs containing data related to this event. The following UnhandledDataExceptionEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Exception | Gets the exception that was thrown by the data source that is wrapped by the provider. |
Handled | Gets or sets a value indicating whether the event was handled. |
Result | Gets or sets the action to take when an exception is thrown from the data source. |
RetryCount | Gets a value representing the number of attempts that were made to send the data queries. |
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
DataSourceProvider Class
DataSourceProvider Members
DataGridControl.UnhandledDataException Event