BackupFileStream Constructor (KernelTransaction, String, FileMode) |
Initializes a new instance of the
BackupFileStream class with the specified path and creation mode.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public BackupFileStream(
KernelTransaction transaction,
string path,
FileMode mode
)
Public Sub New (
transaction As KernelTransaction,
path As String,
mode As FileMode
)
public:
BackupFileStream(
KernelTransaction^ transaction,
String^ path,
FileMode mode
)
new :
transaction : KernelTransaction *
path : string *
mode : FileMode -> BackupFileStream
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
A relative or absolute path for the file that the current BackupFileStream object will encapsulate. - mode
- Type: System.IOFileMode
A FileMode constant that determines how to open or create the file.
Remarks The file will be opened for exclusive access for both reading and writing.
See Also