DuplicateSiteTermNameException Constructor (String, String, String, Exception)

Initializes a new instance of the DuplicateSiteTermNameException with the specified error message, profile definition name, and the inner exception that caused it.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    name As String, _
    displayName As String, _
    inner As Exception _
)
'Usage
Dim message As String
Dim name As String
Dim displayName As String
Dim inner As Exception

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

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.
  • name
    Type: System..::.String
    The name of the site term definition that caused the exception.
  • displayName
    Type: System..::.String
    The display name of the property that caused the exception.
  • inner
    Type: System..::.Exception
    The exception that is the cause of the current exception. If not nullNothingnullptra null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

Remarks

The exception thrown when an attempt is made to create a site term that already exists in the profile system.

Permissions

See Also

Reference

DuplicateSiteTermNameException Class

DuplicateSiteTermNameException Members

DuplicateSiteTermNameException Overload

Microsoft.CommerceServer.Profiles Namespace