Redigera

Dela via


EntityDataSourceChangingEventArgs.Exception Property

Definition

Gets the exception that was thrown while the data was being validated before the insert, update, or delete operation.

public:
 property Exception ^ Exception { Exception ^ get(); };
public Exception Exception { get; }
member this.Exception : Exception
Public ReadOnly Property Exception As Exception

Property Value

The exception, if an error occurred; otherwise, a null reference (Nothing in Visual Basic).

Applies to