Sdílet prostřednictvím


FailureReason Enum

Definition

Provides the reason why the ListObject data binding failed.

public enum class FailureReason
public enum FailureReason
type FailureReason = 
Public Enum FailureReason
Inheritance
FailureReason

Fields

Name Value Description
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.

Applies to