IOMStorableSave Method

Commits the changes. This method inserts new or update existing object in persistent storage.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
void Save()

Exceptions

ObjectSavingException Thrown when object cannot be inserted of updated due to constraint violation in configuration database
. Usually happens if configuration database was updated by other application or PBX component. Handling of the exception:
1. Dispose object and cancel update
2. Repeat modifications on the fresh object snapshot taken from Root. Fresh snapthot can be obtained starting from Root
3. Reset object state and reload it from the server using Refresh and then apply all changes according to new snapshot.

See Also