AttributeNameAlreadyExistsException Class
HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions
Section titled “HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions”Indicates that an attempt was made to save or update an attribute with a name, wich already exists in the repository.
public sealed class AttributeNameAlreadyExistsException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 AttributeNameAlreadyExistsException
Remarks
Section titled “Remarks”Make sure you have written the name correctly. If you wish to modify the existing attribute, use Load(string, CancellationToken) to load the attribute first, then save the changes.
This exception is identified by error code HK15091.
Properties
Section titled “Properties”AttributeNameAlreadyExistsException.EquivalentHttpStatusCode Property
Section titled “AttributeNameAlreadyExistsException.EquivalentHttpStatusCode Property”When unhandled within an HTTP request, this exception produces HTTP 409 (Conflict).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!