Jaa


SiteTermInUseException Constructor (String, String)

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

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

Syntax

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

Dim instance As New SiteTermInUseException(message, _
    siteTermName)
public SiteTermInUseException(
    string message,
    string siteTermName
)
public:
SiteTermInUseException(
    String^ message, 
    String^ siteTermName
)
public function SiteTermInUseException(
    message : String, 
    siteTermName : String
)

Parameters

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

Remarks

The exception thrown when an attempt is made to delete a site term that is being referenced by a profile definition.

Permissions

See Also

Reference

SiteTermInUseException Class

SiteTermInUseException Members

SiteTermInUseException Overload

Microsoft.CommerceServer.Profiles Namespace