FailureReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the reason why the ListObject data binding failed.
public enum class FailureReason
public enum FailureReason
type FailureReason =
Public Enum FailureReason
- Inheritance
-
FailureReason
Fields
CouldNotResizeListObject | 0 | The ListObject could not be resized to make room for all of the data to be displayed. |
InvalidDataSource | 1 | The data source specified is not valid. |
NoDataBoundColumnsSpecified | 2 | At least one of the columns specified must map to the DataTable. |
Remarks
If the SetDataBinding method on the ListObject is unable to perform the data binding, a SetDataBindingFailedException exception is raised. The Reason property of this exception contains data about why the data binding failed.