PosCommon.StatusUpdateEvent Event (POS for .NET v1.12 SDK Documentation)

2/27/2008

Raised by the Service Object to alert the application of a device status change.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Event StatusUpdateEvent As StatusUpdateEventHandler
public abstract event StatusUpdateEventHandler StatusUpdateEvent
public:
virtual event StatusUpdateEventHandler^ StatusUpdateEvent {
    void add (StatusUpdateEventHandler^ value) abstract;
    void remove (StatusUpdateEventHandler^ value) abstract;
}
/** @event */
public abstract void add_StatusUpdateEvent (StatusUpdateEventHandler value)

/** @event */
public abstract void remove_StatusUpdateEvent (StatusUpdateEventHandler value)

Remarks

Examples are a change in the cash drawer position (open versus closed), a change in a POS printer sensor (form present vs. absent), or a change in the power state of the device.

When a device is enabled, the Service Object may raise initial StatusUpdateEvents to inform the application of the device state. However, this behavior is not required.

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
StatusUpdateEventArgs