ControlNotFoundException Class
The exception that is thrown when an attempt is made to reference a control in a document-level customization, but the control does not exist.
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
System::Exception
Microsoft.VisualStudio.Tools.Applications.Runtime::RuntimeException
Microsoft.VisualStudio.Tools.Applications.Runtime::ControlNotFoundException
| Name | Description | |
|---|---|---|
![]() | ControlNotFoundException() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | ControlNotFoundException(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | ControlNotFoundException(String^, Exception^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | ControlNotFoundException(String^, String^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | ControlNotFoundException(String^, String^, Exception^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | ToString() | (Inherited from Exception.) |
For more information about how to use controls in Office solutions, see Controls on Office Documents.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

