Gemstone PQDIF Library
Show/Hide TOC

# PhysicalWriterWriteRecordAsync Method

Writes the given record to the PQDIF file.

## Definition

Namespace: Gemstone.PQDIF.Physical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.164 -- Release Build+6f79aa91bc24bd466d730bef30ac2ee810d04507
C#
View Source Request Example

    public Task WriteRecordAsync(
    	Record record,
    	bool lastRecord = false
    )

VB
View Source Request Example

    Public Function WriteRecordAsync (
    	record As Record,
    	Optional lastRecord As Boolean = false
    ) As Task

C++
View Source Request Example

    public:
    Task^ WriteRecordAsync(
    	Record^ record,
    	bool lastRecord = false
    )

JavaScript
View Source Request Example

    function WriteRecordAsync(record, lastRecord);

#### Parameters

record Record
  The record to be written to the file.
lastRecord Boolean (Optional)
  Indicates whether this record is the last record in the file.

#### Return Value

Task

[Missing <returns> documentation for "M:Gemstone.PQDIF.Physical.PhysicalWriter.WriteRecordAsync(Gemstone.PQDIF.Physical.Record,System.Boolean)"]

## Exceptions

InvalidDataException | The PQDIF data is invalid.
ObjectDisposedException | The writer was disposed.

## See Also

#### Reference

PhysicalWriter Class
Gemstone.PQDIF.Physical Namespace