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.165 -- Release Build+f17362b1c2762733365d4d2cf77064a666cd50be
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