DuplicateHostPropertyException Class

The exception that is thrown when the <HostProperties> section of the project file contains multiple host properties that have the same name.

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class DuplicateHostPropertyException _
    Inherits Exception
'Usage
Dim instance As DuplicateHostPropertyException
[SerializableAttribute]
public sealed class DuplicateHostPropertyException : Exception
[SerializableAttribute]
public ref class DuplicateHostPropertyException sealed : public Exception
public final class DuplicateHostPropertyException extends Exception

Remarks

Property names must be unique.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.DesignTime.DuplicateHostPropertyException

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

DuplicateHostPropertyException Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace