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