DuplicateSiteTermNameException Constructor (String, String, String)
Initializes a new instance of the DuplicateSiteTermNameException with the specified error message and profile definition name.
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 _
)
'Usage
Dim message As String
Dim name As String
Dim displayName As String
Dim instance As New DuplicateSiteTermNameException(message, _
name, displayName)
public DuplicateSiteTermNameException(
string message,
string name,
string displayName
)
public:
DuplicateSiteTermNameException(
String^ message,
String^ name,
String^ displayName
)
public function DuplicateSiteTermNameException(
message : String,
name : String,
displayName : String
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
- name
Type: System..::.String
The name of site term that caused the exception.
- displayName
Type: System..::.String
The display name of the property that caused the exception.
Remarks
The exception thrown when an attempt is made to create a site term that already exists in the profile system.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DuplicateSiteTermNameException Class
DuplicateSiteTermNameException Members