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.141 -- Release Build+6d53eb8cb4ceb3a6defd69fd8a8a0fca32fcc171
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