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