LogicalParserOpenAsync(Stream, Boolean) Method

Opens the parser and parses the ContainerRecord.

Definition

Namespace: Gemstone.PQDIF.Logical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.147 -- Release Build+93be339855407883acd397814ca9689e50b59737
public Task OpenAsync(
	Stream stream,
	bool leaveOpen = false
)

Parameters

stream  Stream
The stream containing the PQDIF file data.
leaveOpen  Boolean  (Optional)
True if the stream should be closed when the parser is closed; false otherwise.

Return Value

Task

[Missing <returns> documentation for "M:Gemstone.PQDIF.Logical.LogicalParser.OpenAsync(System.IO.Stream,System.Boolean)"]

Exceptions

ArgumentNullExceptionstream is null.
InvalidOperationExceptionstream is not both readable and seekable.
InvalidDataExceptionFirst record of PQDIF file is not the container record.
NotSupportedExceptionAn unsupported compression mode was defined in the PQDIF file.
EndOfStreamExceptionEnd of stream encountered while reading the container record.

See Also