共用方式為


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

  • 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