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.150 -- Release Build+28e08b68c85f58490ed849805e3d842d0247bb68
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