Partajați prin


DuplicateSiteTermValueException Constructor (String, String, String)

Initializes a new instance of the DuplicateSiteTermValueException with the specified error message and the site term name and value.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    siteTermValue As String, _
    siteTermValueName As String _
)
'Usage
Dim message As String
Dim siteTermValue As String
Dim siteTermValueName As String

Dim instance As New DuplicateSiteTermValueException(message, _
    siteTermValue, siteTermValueName)
public DuplicateSiteTermValueException(
    string message,
    string siteTermValue,
    string siteTermValueName
)
public:
DuplicateSiteTermValueException(
    String^ message, 
    String^ siteTermValue, 
    String^ siteTermValueName
)
public function DuplicateSiteTermValueException(
    message : String, 
    siteTermValue : String, 
    siteTermValueName : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.
  • siteTermValue
    Type: System..::.String
    The value of the site term property that caused the exception.
  • siteTermValueName
    Type: System..::.String
    The name of the site term property that caused the exception.

Remarks

The exception thrown when an attempt is made to create or update a site term that conflicts with the value of an existing site term in the profile system.

Permissions

See Also

Reference

DuplicateSiteTermValueException Class

DuplicateSiteTermValueException Members

DuplicateSiteTermValueException Overload

Microsoft.CommerceServer.Profiles Namespace