Transactioning Scheme
Windows Mobile-based devices support transactioning and rollback of configuration changes on the device by using either the Configuration Service Provider or Configuration Manager.
The following table shows the transactioning modes that the Windows Mobile supports.
Transaction Mode | Description |
---|---|
Internal Transactioning | The Configuration Service Provider supports transactioning. The following list shows the requirements for the Configuration Service Provider to support Internal Transactioning:
|
External Transactioning | The Configuration Manager supports transactioning rather than the Configuration Service Provider. Compliance with External Transactioning is the easiest and most convenient way to develop a Configuration Service Provider. .
The following list shows the requirements for the Configuration Service Provider to support External Transactioning:
|
A rollback returns the device to its previously known and stable state when a transaction failure occurs.
The execution of a configuration request may require interaction with many different Configuration Service Providers. In this case, the transactions are processed serially. Successful completion of all configuration transactions is required. If a single transaction section fails, the entire transaction is rolled back to the Configuration Service Provider by means of either Internal Transactioning or External Transactioning.
For example, a configuration document could be sent to the device that attempted to change a key in the registry and then move a file. The security model implemented in the device will help protect all these operations. 'If the configuration document attempts to change a registry key to which it does not have access, Configuration Manager reports an error on this transaction. Because one section of the document has failed, the entire document and any changes it attempted to make are rolled back. The device is now in the exact state it was in before the configuration document reached the device.
See Also
Send Feedback on this topic to the authors