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.173 -- Release Build+83080c2c75f31cf4c77448eec3f624d323a6c7eb
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