LogicalWriterWriteAsync(ObservationRecord, Boolean) Method

Writes the given observation record, as well as its data source and monitor settings records if necessary, to the file stream.

Definition

Namespace: Gemstone.PQDIF.Logical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.128 -- Release Build+1b345d0ae00b8cec154a675bc1a93c4812c5641f
public Task WriteAsync(
	ObservationRecord observationRecord,
	bool lastRecord = false
)

Parameters

observationRecord  ObservationRecord
The observation record to be written to the PQDIF file.
lastRecord  Boolean  (Optional)
Indicates whether this observation record is the last record in the file.

Return Value

Task

[Missing <returns> documentation for "M:Gemstone.PQDIF.Logical.LogicalWriter.WriteAsync(Gemstone.PQDIF.Logical.ObservationRecord,System.Boolean)"]

Exceptions

ArgumentNullExceptionobservationRecord is null.
ObjectDisposedExceptionThe writer was disposed.
InvalidOperationException

File does not yet have a ContainerRecord.

- OR -

observationRecord does not have a data source.

InvalidDataExceptionThe PQDIF data is invalid.

See Also