Share via


DuplicateHostPropertyException Constructor (String, Exception)

Initializes a new instance of the DuplicateHostPropertyException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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
Public Sub New ( _
    message As String, _
    inner As Exception _
)
'Usage
Dim message As String 
Dim inner As Exception 

Dim instance As New DuplicateHostPropertyException(message, _
    inner)
public DuplicateHostPropertyException(
    string message,
    Exception inner
)
public:
DuplicateHostPropertyException(
    String^ message, 
    Exception^ inner
)
public function DuplicateHostPropertyException(
    message : String, 
    inner : Exception
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

  • inner
    Type: System.Exception

    The exception that is the cause of the current exception, or nulla null reference (Nothing in Visual Basic) if no inner exception is specified.

.NET Framework Security

See Also

Reference

DuplicateHostPropertyException Class

DuplicateHostPropertyException Members

DuplicateHostPropertyException Overload

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace