The following tables list the members exposed by TransactedCompoundFile.
Name | Description | |
---|---|---|
TransactedCompoundFile Constructor | Overloaded. |
Name | Description | |
---|---|---|
FirstIdentity | Returns the first block that *would* be allocated by a call to Create() on an empty file. |
Name | Description | |
---|---|---|
Clear | Immediatly truncates the file to zero-length and re-initializes an empty file | |
Commit | Overloaded. For file-level transactions, performs a two-stage commit of all changed handles. | |
Create | Allocates a handle for data, you MUST call Write to commit the handle, otherwise the handle may be reallocated after closing and re-opening this file. If you do not intend to commit the handle by writing to it, you should still call Delete() so that it may be reused. | |
Delete | Deletes the handle and frees the associated block space for reuse. | |
Dispose | Closes all streams and clears all in-memory data. | |
Read | Reads all bytes from the from the handle specified | |
Rollback | For file-level transactions, Reloads the file from it's original (or last committed) state. | |
Write | Writes the bytes provided to the handle that was previously obtained by a call to Create(). The length must not be more than ((16*BlockSize)-32) bytes in length. The exact header size (32 bytes) may change without notice in a future release. |