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.110 -- Release Build+b4919315e8c742e443cd323c6bfaf3fcd0062dd8
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