CannotCreateCustomizationDomainException Class (2007 System)
The exception that is thrown when an application domain cannot be created and the assembly for a Visual Studio Tools for Office solution cannot be loaded.
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 CannotCreateCustomizationDomainException _
Inherits RuntimeException
'Usage
Dim instance As CannotCreateCustomizationDomainException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CannotCreateCustomizationDomainException : RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class CannotCreateCustomizationDomainException sealed : public RuntimeException
public final class CannotCreateCustomizationDomainException extends RuntimeException
Remarks
This exception is often caused by an error in the security configuration on the computer that is running the Visual Studio Tools for Office solution. To get more specific information about the error, use the Message and InnerException properties.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException
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.