ControlNotFoundException 클래스(2007 시스템)

업데이트: 2007년 11월

문서의 컨트롤 컬렉션을 사용하여 문서 수준 사용자 지정의 컨트롤을 참조하려고 했지만 해당 컨트롤이 없는 경우 throw되는 예외입니다.

네임스페이스:  Microsoft.VisualStudio.Tools.Applications.Runtime
어셈블리:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0(Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

구문

<SerializableAttribute> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class ControlNotFoundException _
    Inherits RuntimeException

Dim instance As ControlNotFoundException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class ControlNotFoundException : RuntimeException

설명

문서 수준 사용자 지정의 컨트롤 사용에 대한 자세한 내용은 Office 문서의 컨트롤을 참조하십시오.

상속 계층 구조

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
      Microsoft.VisualStudio.Tools.Applications.Runtime.ControlNotFoundException

스레드로부터의 안전성

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

참고 항목

참조

ControlNotFoundException 멤버

Microsoft.VisualStudio.Tools.Applications.Runtime 네임스페이스

기타 리소스

Office 문서의 컨트롤