Skip to content
Start free evaluation

PDComm.Secs1IoResult

Struct

The result of a Secs1Read or Secs1Write callback.

public readonly record struct Secs1IoResult

Parameters

NameDescription
StatusThe outcome of the operation.
CountFor Secs1IoStatus.Ok, the number of bytes read or written; it must not exceed the buffer length. Ignored for other statuses.

Members

Secs1IoResult

Constructor

The result of a Secs1Read or Secs1Write callback.

public Secs1IoResult(Secs1IoStatus Status, nuint Count = 0)

Parameters

NameDescription
StatusThe outcome of the operation.
CountFor Secs1IoStatus.Ok, the number of bytes read or written; it must not exceed the buffer length. Ignored for other statuses.

Count

Property

For Secs1IoStatus.Ok, the number of bytes read or written; it must not exceed the buffer length. Ignored for other statuses.

public nuint Count { get; init; }

Status

Property

The outcome of the operation.

public Secs1IoStatus Status { get; init; }