Partager via


SiteTermDoesNotExistException Constructor (String, String)

Initializes a new instance of the SiteTermDoesNotExistException with the specified error message and 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 SiteTermDoesNotExistException(message, _
    siteTermName)
public SiteTermDoesNotExistException(
    string message,
    string siteTermName
)
public:
SiteTermDoesNotExistException(
    String^ message, 
    String^ siteTermName
)
public function SiteTermDoesNotExistException(
    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 access a site term that does not exist in the profile system.

Permissions

See Also

Reference

SiteTermDoesNotExistException Class

SiteTermDoesNotExistException Members

SiteTermDoesNotExistException Overload

Microsoft.CommerceServer.Profiles Namespace