ControlNotFoundException Class

Definition

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.

[System.Serializable]
public sealed class ControlNotFoundException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
Inheritance
ControlNotFoundException
Attributes

Remarks

For more information about how to use controls in Office solutions, see Controls on Office Documents.

Constructors

ControlNotFoundException()
ControlNotFoundException(String)
ControlNotFoundException(String, Exception)
ControlNotFoundException(String, String)
ControlNotFoundException(String, String, Exception)

Applies to