Method | Description | |
---|---|---|
ChangeExtension ( string extension, bool isReadOnly, bool isSharingEnabled ) : void |
Changes the extension of the current file.
|
|
ChangeShareMode ( bool isReadOnly, bool isSharingEnabled ) : void |
Reopens the file with different permissions.
|
|
CommitChanges ( FileHeaderBlock header ) : void |
Occurs when committing the following data to the disk. This will copy any pending data to the disk in a manner that will protect against corruption.
|
|
CreateDiskIoSession ( FileHeaderBlock header, SubFileHeader file ) : |
Creates a DiskIoSession that can be used to perform basic read/write functions.
|
|
CreateFile ( string fileName, |
||
CreateMemoryFile ( |
||
Dispose ( ) : void |
Releases the unmanaged resources used by the DiskIo object and optionally releases the managed resources.
|
|
OpenFile ( string fileName, |
||
RollbackChanges ( ) : void |
Occurs when rolling back a transaction. This will free up any temporary space allocated for the change.
|
Method | Description | |
---|---|---|
DiskIo ( |
public ChangeExtension ( string extension, bool isReadOnly, bool isSharingEnabled ) : void | ||
extension | string | the new extension |
isReadOnly | bool | If the file should be reopened as readonly |
isSharingEnabled | bool | If the file should share read privileges. |
return | void |
public ChangeShareMode ( bool isReadOnly, bool isSharingEnabled ) : void | ||
isReadOnly | bool | If the file should be reopened as readonly |
isSharingEnabled | bool | If the file should share read privileges. |
return | void |
public CommitChanges ( FileHeaderBlock header ) : void | ||
header | FileHeaderBlock | |
return | void |
public CreateDiskIoSession ( FileHeaderBlock header, SubFileHeader file ) : |
||
header | FileHeaderBlock | |
file | SubFileHeader | |
return |
public static CreateFile ( string fileName, |
||
fileName | string | |
pool | ||
fileStructureBlockSize | int | |
return |
public static CreateMemoryFile ( |
||
pool | ||
fileStructureBlockSize | int | |
return |
public static OpenFile ( string fileName, |
||
fileName | string | |
pool | ||
isReadOnly | bool | |
return |