SetDataBindingFailedException Constructor (FailureReason, Exception)
Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed, and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.v4.0.Framework (in Microsoft.Office.Tools.v4.0.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
reason As FailureReason, _
innerException As Exception _
)
public SetDataBindingFailedException(
FailureReason reason,
Exception innerException
)
Parameters
reason
Type: Microsoft.Office.Tools.Excel.FailureReasonA reason that the data binding failed.
innerException
Type: System.ExceptionThe exception that is the cause of the current exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SetDataBindingFailedException Class