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.

public ref class ControlNotFoundException sealed : Microsoft::VisualStudio::Tools::Applications::Runtime::RuntimeException
[System.Serializable]
public sealed class ControlNotFoundException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
[<System.Serializable>]
type ControlNotFoundException = class
    inherit RuntimeException
Public NotInheritable Class ControlNotFoundException
Inherits 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