FailureReason Enumeration

 

Provides the reason why the ListObject data binding failed.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.v4.0.Framework (in Microsoft.Office.Tools.v4.0.Framework.dll)

public enum FailureReason

Member nameDescription
CouldNotResizeListObject

The ListObject could not be resized to make room for all of the data to be displayed.

InvalidDataSource

The data source specified is not valid.

NoDataBoundColumnsSpecified

At least one of the columns specified must map to the DataTable.

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.

Return to top
Show: