C# Класс GSF.IO.FileStructure.ReadSnapshot

Aquires a snapshot of the file system to browse in an isolated mannor. This is read only and will also block the main file from being deleted. Therefore it is important to release this lock so the file can be deleted after a rollover.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
OpenFile ( SubFileName fileName ) : SubFileStream

Opens a ArchiveFileStream that can be used to read/write to the file passed to this function.

OpenFile ( int fileIndex ) : SubFileStream

Opens a ArchiveFileStream that can be used to read the file passed to this function.

Приватные методы

Метод Описание
ReadSnapshot ( DiskIo dataReader ) : System

Creates a readonly copy of a transaction.

Описание методов

OpenFile() публичный Метод

Opens a ArchiveFileStream that can be used to read/write to the file passed to this function.
public OpenFile ( SubFileName fileName ) : SubFileStream
fileName SubFileName
Результат SubFileStream

OpenFile() публичный Метод

Opens a ArchiveFileStream that can be used to read the file passed to this function.
public OpenFile ( int fileIndex ) : SubFileStream
fileIndex int The index of the file to open.
Результат SubFileStream