共用方式為


SetDataBindingFailedException Constructor (String, Exception)

Initializes a new instance of the SetDataBindingFailedException class with a specified 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 ( _
    message As String, _
    innerException As Exception _
)
public SetDataBindingFailedException(
    string message,
    Exception innerException
)

Parameters

  • message
    Type: System.String

    A message that describes the error.

  • innerException
    Type: System.Exception

    The exception that is the cause of the current exception.

.NET Framework Security

See Also

Reference

SetDataBindingFailedException Class

SetDataBindingFailedException Overload

Microsoft.Office.Tools.Excel Namespace