Udostępnij za pośrednictwem


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

  • 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

See Also

Reference

SetDataBindingFailedException Class

SetDataBindingFailedException Overload

Microsoft.Office.Tools.Excel Namespace