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.152 -- Release Build+5300379d66d35c209531b27c4de15ac0fdb564d4
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