다음을 통해 공유


SetDataBindingFailedException 클래스

NamedRange 컨트롤, Chart 컨트롤, XmlMappedRange 컨트롤 또는 ListObject 컨트롤에 대해 데이터 바인딩을 설정하려는 시도가 실패한 경우 throw되는 예외를 나타냅니다.

상속 계층 구조

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
      Microsoft.Office.Tools.Excel.SetDataBindingFailedException

네임스페이스:  Microsoft.Office.Tools.Excel
어셈블리:  Microsoft.Office.Tools.v4.0.Framework(Microsoft.Office.Tools.v4.0.Framework.dll)

구문

‘선언
<SerializableAttribute> _
<SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Unrestricted := True)> _
<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted := True)> _
Public NotInheritable Class SetDataBindingFailedException _
    Inherits RuntimeException
[SerializableAttribute]
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)]
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
public sealed class SetDataBindingFailedException : RuntimeException

SetDataBindingFailedException 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 SetDataBindingFailedException() SetDataBindingFailedException 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 SetDataBindingFailedException(Exception)
Public 메서드 SetDataBindingFailedException(String) 지정된 오류 메시지를 사용하여 SetDataBindingFailedException 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 SetDataBindingFailedException(FailureReason) 데이터 바인딩이 실패한 특정 이유를 사용하여 SetDataBindingFailedException 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 SetDataBindingFailedException(String, Exception) 지정된 오류 메시지와 해당 예외의 근본 원인인 내부 예외에 대한 참조를 사용하여 SetDataBindingFailedException 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 SetDataBindingFailedException(FailureReason, Exception) 데이터 바인딩이 실패한 특정 이유 및 이 예외의 원인인 내부 예외에 대한 참조를 사용하여 SetDataBindingFailedException 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 SetDataBindingFailedException(FailureReason, String) 데이터 바인딩이 실패한 특정 이유 및 오류 메시지를 사용하여 SetDataBindingFailedException 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 SetDataBindingFailedException(FailureReason, Exception, String) 데이터 바인딩이 실패한 특정 이유, 오류 메시지 및 이 예외의 원인인 내부 예외에 대한 참조를 사용하여 SetDataBindingFailedException 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 Data 예외에 대한 사용자 정의 추가 정보를 제공하는 키/값 쌍의 컬렉션을 가져옵니다. (Exception에서 상속됨)
Public 속성 HelpLink 이 예외와 관련된 도움말 파일에 대한 링크를 가져오거나 설정합니다. (Exception에서 상속됨)
Public 속성 HResult 특정 예외에 할당된 코드화된 숫자 값인 HRESULT를 가져오거나 설정합니다. (Exception에서 상속됨)
Public 속성 InnerException 현재 예외를 발생시킨 Exception 인스턴스를 가져옵니다. (Exception에서 상속됨)
Public 속성 Message 현재 예외를 설명하는 메시지를 가져옵니다. (Exception에서 상속됨)
Public 속성 Reason 데이터 바인딩이 실패한 이유를 제공합니다.
Public 속성 Source 오류를 발생시키는 응용 프로그램 또는 개체의 이름을 가져오거나 설정합니다. (Exception에서 상속됨)
Public 속성 StackTrace 호출 스택의 직접 실행 프레임에 대한 문자열 표현을 가져옵니다. (Exception에서 상속됨)
Public 속성 TargetSite 현재 예외를 throw하는 메서드를 가져옵니다. (Exception에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Public 메서드 GetBaseException 파생 클래스에서 재정의되었을 때, 하나 이상의 후속 예외의 근본 원인이 되는 Exception을 반환합니다. (Exception에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetObjectData 파생 클래스에서 재정의될 때, 예외에 관한 정보를 SerializationInfo에 설정합니다. (Exception.GetObjectData(SerializationInfo, StreamingContext)을(를) 재정의함)
Public 메서드 GetType 현재 인스턴스의 런타임 형식을 가져옵니다. (Exception에서 상속됨)
Public 메서드 ToString 현재 예외에 대한 문자열 표현을 만들고 반환합니다. (Exception에서 상속됨)

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.Office.Tools.Excel 네임스페이스