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.147 -- Release Build+93be339855407883acd397814ca9689e50b59737
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