UniqueFieldValueConstraintViolationException.

UniqueFieldValueConstraintViolationException(string, string) Constructor

Summary

Constructor with a message composed from the class and field name of the entity causing the exception.

Syntax

public UniqueFieldValueConstraintViolationException(string className, string fieldName)

Remarks

Constructor with a message composed from the class and field name of the entity causing the exception.

Parameters

Name Type Description
className string class, which caused the exception
fieldName string field, which caused the exception

Return Value

Type Description
void