Property Error Error Gets the exception representing the error that occurred during value retrieval. Declaration Exception Error { get; } Property Value Type Description Exception The exception if an error occurs; otherwise, null.