Share via


PosCommon.DirectIOEvent Event

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

Usage

'Usage
WithEvents posCommon1 As PosCommon
Function posCommon1_DirectIOEvent(sender As Object, _
    e As DirectIOEventArgs) As Void
    Handles posCommon1.DirectIOEvent
End Function

Syntax

'Declaration
Public MustOverride Event DirectIOEvent As DirectIOEventHandler
public abstract event DirectIOEventHandler DirectIOEvent;
public: abstract event DirectIOEventHandler^ DirectIOEvent;
public abstract  void add_DirectIOEvent(DirectIOEventHandler handler);
public abstract  void remove_DirectIOEvent(DirectIOEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Remarks

Fired by the service object to communicate information directly to the application. DirectIOEvent provides a means for a service object to communicate information in the form of an event to the application that would not otherwise be supported by other events or properties defined for the device. Use of this event may restrict the application from being used with other vendor’s devices which may not have any knowledge of the service object’s need for this event.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
DirectIO
DirectIOEventArgs