Click or drag to resize

BackupFileStream Constructor (KernelTransaction, String, FileMode, FileSystemRights)

Initializes a new instance of the BackupFileStream class with the specified path, creation mode and access rights.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public BackupFileStream(
	KernelTransaction transaction,
	string path,
	FileMode mode,
	FileSystemRights access
)

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.
access
Type: System.Security.AccessControlFileSystemRights
A FileSystemRights constant that determines the access rights to use when creating access and audit rules for the file.
Remarks
The file will be opened for exclusive access.
See Also