Table of Contents

Class UnitReleaseEventArgs

Namespace
Acuit.Pinpoint.Workstation
Assembly
Acuit.Pinpoint.Workstation.Interfaces.dll

Arguments passed to the UnitReleased event handler.

public class UnitReleaseEventArgs : EventArgs
Inheritance
UnitReleaseEventArgs
Inherited Members

Constructors

UnitReleaseEventArgs(UnitReleaseStatus, Exception, UnitStation)

Initializes a new instance of the UnitReleaseEventArgs class.

public UnitReleaseEventArgs(UnitReleaseStatus status, Exception exception, UnitStation unitStation)

Parameters

status UnitReleaseStatus

The unit release status.

exception Exception

The exception that occurred when transmitting the unit release to the server, or null if no error occurred.

unitStation UnitStation

The UnitStation entity for the current unit at this station.

Properties

Exception

Gets the error that occurred when transmitting the unit release to the server, or null if no error occurred.

public Exception Exception { get; }

Property Value

Exception

Remarks

This will not be null if the unit was not successfully released from the server, but is being released anyway as far as this workstation is concerned.

Status

Gets the unit release status, or null if this is not a serialized station type.

public UnitReleaseStatus Status { get; }

Property Value

UnitReleaseStatus

UnitStation

Gets the UnitStation entity for the current unit at this station.

public UnitStation UnitStation { get; }

Property Value

UnitStation

Remarks

This makes it convenient to remove any event handlers watching for changes in the current unit state.