BackupFileStream Constructor (KernelTransaction, String, FileMode, FileSystemRights, FileShare, ExtendedFileAttributes, FileSecurity) |
Initializes a new instance of the
BackupFileStream class with the specified path, creation mode, access rights and sharing permission, additional file attributes, access control and audit security.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public BackupFileStream(
KernelTransaction transaction,
string path,
FileMode mode,
FileSystemRights access,
FileShare share,
ExtendedFileAttributes attributes,
FileSecurity security
)
Public Sub New (
transaction As KernelTransaction,
path As String,
mode As FileMode,
access As FileSystemRights,
share As FileShare,
attributes As ExtendedFileAttributes,
security As FileSecurity
)
public:
BackupFileStream(
KernelTransaction^ transaction,
String^ path,
FileMode mode,
FileSystemRights access,
FileShare share,
ExtendedFileAttributes attributes,
FileSecurity^ security
)
new :
transaction : KernelTransaction *
path : string *
mode : FileMode *
access : FileSystemRights *
share : FileShare *
attributes : ExtendedFileAttributes *
security : FileSecurity -> 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. - access
- Type: System.Security.AccessControlFileSystemRights
A FileSystemRights constant that determines the access rights to use when creating access and audit rules for the file. - share
- Type: System.IOFileShare
A FileShare constant that determines how the file will be shared by processes. - attributes
- Type: Alphaleonis.Win32.FilesystemExtendedFileAttributes
A ExtendedFileAttributes constant that specifies additional file attributes. - security
- Type: System.Security.AccessControlFileSecurity
A FileSecurity constant that determines the access control and audit security for the file. This parameter This parameter may be .
See Also