Udostępnij za pośrednictwem


SetDataBindingFailedException Constructors

Definition

Overloads

SetDataBindingFailedException()

Initializes a new instance of the SetDataBindingFailedException class.

SetDataBindingFailedException(FailureReason)

Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed.

SetDataBindingFailedException(Exception)
SetDataBindingFailedException(String)

Initializes a new instance of the SetDataBindingFailedException class with a specified error message.

SetDataBindingFailedException(FailureReason, Exception)

Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed, and a reference to the inner exception that is the cause of this exception.

SetDataBindingFailedException(FailureReason, String)

Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed, and the error message.

SetDataBindingFailedException(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.

SetDataBindingFailedException(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.

SetDataBindingFailedException()

Initializes a new instance of the SetDataBindingFailedException class.

public:
 SetDataBindingFailedException();
public SetDataBindingFailedException ();
Public Sub New ()

Applies to

SetDataBindingFailedException(FailureReason)

Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed.

public:
 SetDataBindingFailedException(Microsoft::Office::Tools::Excel::FailureReason reason);
public SetDataBindingFailedException (Microsoft.Office.Tools.Excel.FailureReason reason);
new Microsoft.Office.Tools.Excel.SetDataBindingFailedException : Microsoft.Office.Tools.Excel.FailureReason -> Microsoft.Office.Tools.Excel.SetDataBindingFailedException
Public Sub New (reason As FailureReason)

Parameters

reason
FailureReason

A reason that the data binding failed.

Applies to

SetDataBindingFailedException(Exception)

public:
 SetDataBindingFailedException(Exception ^ innerException);
public SetDataBindingFailedException (Exception innerException);
new Microsoft.Office.Tools.Excel.SetDataBindingFailedException : Exception -> Microsoft.Office.Tools.Excel.SetDataBindingFailedException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

Applies to

SetDataBindingFailedException(String)

Initializes a new instance of the SetDataBindingFailedException class with a specified error message.

public:
 SetDataBindingFailedException(System::String ^ message);
public SetDataBindingFailedException (string message);
new Microsoft.Office.Tools.Excel.SetDataBindingFailedException : string -> Microsoft.Office.Tools.Excel.SetDataBindingFailedException
Public Sub New (message As String)

Parameters

message
String

A message that describes the error.

Applies to

SetDataBindingFailedException(FailureReason, Exception)

Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed, and a reference to the inner exception that is the cause of this exception.

public:
 SetDataBindingFailedException(Microsoft::Office::Tools::Excel::FailureReason reason, Exception ^ innerException);
public SetDataBindingFailedException (Microsoft.Office.Tools.Excel.FailureReason reason, Exception innerException);
new Microsoft.Office.Tools.Excel.SetDataBindingFailedException : Microsoft.Office.Tools.Excel.FailureReason * Exception -> Microsoft.Office.Tools.Excel.SetDataBindingFailedException
Public Sub New (reason As FailureReason, innerException As Exception)

Parameters

reason
FailureReason

A reason that the data binding failed.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

SetDataBindingFailedException(FailureReason, String)

Initializes a new instance of the SetDataBindingFailedException class with a specified reason that the data binding failed, and the error message.

public:
 SetDataBindingFailedException(Microsoft::Office::Tools::Excel::FailureReason reason, System::String ^ message);
public SetDataBindingFailedException (Microsoft.Office.Tools.Excel.FailureReason reason, string message);
new Microsoft.Office.Tools.Excel.SetDataBindingFailedException : Microsoft.Office.Tools.Excel.FailureReason * string -> Microsoft.Office.Tools.Excel.SetDataBindingFailedException
Public Sub New (reason As FailureReason, message As String)

Parameters

reason
FailureReason

A reason that the data binding failed.

message
String

A message that describes the error.

Applies to

SetDataBindingFailedException(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.

public:
 SetDataBindingFailedException(System::String ^ message, Exception ^ innerException);
public SetDataBindingFailedException (string message, Exception innerException);
new Microsoft.Office.Tools.Excel.SetDataBindingFailedException : string * Exception -> Microsoft.Office.Tools.Excel.SetDataBindingFailedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

SetDataBindingFailedException(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.

public:
 SetDataBindingFailedException(Microsoft::Office::Tools::Excel::FailureReason reason, Exception ^ innerException, System::String ^ message);
public SetDataBindingFailedException (Microsoft.Office.Tools.Excel.FailureReason reason, Exception innerException, string message);
new Microsoft.Office.Tools.Excel.SetDataBindingFailedException : Microsoft.Office.Tools.Excel.FailureReason * Exception * string -> Microsoft.Office.Tools.Excel.SetDataBindingFailedException
Public Sub New (reason As FailureReason, innerException As Exception, message As String)

Parameters

reason
FailureReason

A reason that the data binding failed.

innerException
Exception

The exception that is the cause of the current exception.

message
String

A message that describes the error.

Applies to