Partager via


SetDataBindingFailedException Class

Definition

Represents the exception that is thrown when an attempt to set data binding on the NamedRange control, Chart control, XmlMappedRange control, or ListObject control fails.

public ref class SetDataBindingFailedException sealed : Microsoft::VisualStudio::Tools::Applications::Runtime::RuntimeException
[System.Diagnostics.DebuggerNonUserCode]
[System.Serializable]
public sealed class SetDataBindingFailedException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
[<System.Diagnostics.DebuggerNonUserCode>]
[<System.Serializable>]
type SetDataBindingFailedException = class
    inherit RuntimeException
Public NotInheritable Class SetDataBindingFailedException
Inherits RuntimeException
Inheritance
SetDataBindingFailedException
Attributes

Constructors

SetDataBindingFailedException()

Initializes a new instance of the SetDataBindingFailedException class.

SetDataBindingFailedException(Exception)
SetDataBindingFailedException(FailureReason)

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

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, 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(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)

Initializes a new instance of the SetDataBindingFailedException class with a specified 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.

Properties

Reason

Provides a reason that the data binding failed.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Applies to