DeleteFileManager Class |
Namespace: Novacta.Transactions.IO
The DeleteFileManager type exposes the following members.
Name | Description | |
---|---|---|
DeleteFileManager |
Initializes a new instance of the DeleteFileManager class.
|
Name | Description | |
---|---|---|
ManagedFileStream |
Provides the stream for the managed file.
(Inherited from FileManager.) |
Name | Description | |
---|---|---|
Commit |
Notifies an enlisted object that a transaction is being committed.
(Inherited from FileManager.) | |
Dispose |
Performs application-defined tasks associated with freeing,
releasing, or resetting unmanaged resources.
(Inherited from FileManager.) | |
EnlistVolatile |
Enlists this instance as a volatile resource
manager using the specified enlistment
options.
(Inherited from FileManager.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InDoubt |
Notifies an enlisted object that the status of a transaction is
in doubt.
(Inherited from FileManager.) | |
Prepare |
Notifies an enlisted object that a transaction is being prepared
for commitment.
(Inherited from FileManager.) | |
Rollback |
Notifies an enlisted object that a transaction is being rolled
back (aborted).
(Inherited from FileManager.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
When a DeleteFileManager instance is notified that a transaction is being prepared for commitment, it checks if a file having the specified path exists. If not, the operation cannot be executed and the transaction is forced to roll back.