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.128 -- Release Build+1b345d0ae00b8cec154a675bc1a93c4812c5641f
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