AttributeAssignmentsExistException Class
HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions
Section titled “HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions”Indicates that an attribute cannot be deleted because there are still assignments that refer to it.
public sealed class AttributeAssignmentsExistException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 AttributeAssignmentsExistException
Remarks
Section titled “Remarks”This exception is usually triggered when attempting to delete an attribute that is still being used in assignments.
The Delete(string, bool, CancellationToken) method can be used with the
‘force’ option set to true to automatically delete all assignments as well.
This exception is identified by error code HK15176.
Properties
Section titled “Properties”AttributeAssignmentsExistException.EquivalentHttpStatusCode Property
Section titled “AttributeAssignmentsExistException.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!