Dijelite putem


DuplicateSiteTermValueException Constructor (String, String, String, Exception)

Initializes a new instance of the DuplicateSiteTermValueException with the specified error message, site term name and value, 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, _
    siteTermValue As String, _
    siteTermValueName As String, _
    inner As Exception _
)
'Usage
Dim message As String
Dim siteTermValue As String
Dim siteTermValueName As String
Dim inner As Exception

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

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.
  • 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 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