'Declaration Public Event DataAccessError As EventHandler(Of DataAccessErrorEventArgs)
public event EventHandler<DataAccessErrorEventArgs> DataAccessError
The event handler receives an argument of type DataAccessErrorEventArgs containing data related to this event. The following DataAccessErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ErrorMessage | Returns or sets the error message. |
Exception | Returns the exception that was thrown (read-only). |
Item | Gets the item that the get or set was attempted for (read-only). |
Property | Returns the name of the property (read-only). |
ThrownDuringSet | Returns whether the exception was thrown during a 'set' operation (read-only). |
Value | Returns the value that was attempting to be set on the property (read-only). |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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