Share via


CannotCreateStartupObjectException Class (2007 System)

The exception that is thrown when a host item class in a Visual Studio Tools for Office solution assembly cannot be instantiated.

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 CannotCreateStartupObjectException _
    Inherits RuntimeException
'Usage
Dim instance As CannotCreateStartupObjectException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CannotCreateStartupObjectException : RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class CannotCreateStartupObjectException sealed : public RuntimeException
public final class CannotCreateStartupObjectException extends RuntimeException

Inheritance Hierarchy

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

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

CannotCreateStartupObjectException Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace