SetDataBindingFailedException Constructor (FailureReason, String)
Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed, and the error message.
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, _
message As String _
)
public SetDataBindingFailedException(
FailureReason reason,
string message
)
Parameters
- reason
Type: Microsoft.Office.Tools.Excel.FailureReason
A reason that the data binding failed.
- message
Type: System.String
A message that describes the error.
.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