ControlCouldNotBeInitializedException Class (2007 System)
The exception that is thrown when a control that was added to a document-level customization by using the controls collection of the document could not be initialized.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class ControlCouldNotBeInitializedException _
Inherits RuntimeException
'Usage
Dim instance As ControlCouldNotBeInitializedException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class ControlCouldNotBeInitializedException : RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class ControlCouldNotBeInitializedException sealed : public RuntimeException
public final class ControlCouldNotBeInitializedException extends RuntimeException
Remarks
For more information about adding controls to document-level customizations, see Controls on Office Documents.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
Microsoft.VisualStudio.Tools.Applications.Runtime.ControlCouldNotBeInitializedException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
ControlCouldNotBeInitializedException Members
Microsoft.VisualStudio.Tools.Applications.Runtime Namespace