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.138 -- Release Build+96875833d2894fd2d83b642a724995fed7d1f0b1
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