Share via


DirectIOEventHandler Delegate (POS for .NET v1.12 SDK Documentation)

2/27/2008

Defines the method that handles a DirectIOEventArgs events.

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

Syntax

'Declaration
Public Delegate Sub DirectIOEventHandler ( _
    sender As Object, _
    e As DirectIOEventArgs _
)
public delegate void DirectIOEventHandler (
    Object sender,
    DirectIOEventArgs e
)
public delegate void DirectIOEventHandler (
    Object^ sender, 
    DirectIOEventArgs^ e
)
/** @delegate */
public delegate void DirectIOEventHandler (
    Object sender, 
    DirectIOEventArgs e
)

Parameters

  • sender
    The source of the event.

Remarks

The declaration of your event handler must have the same parameters as the DirectIOEventHandler delegate declaration.

When you create a DirectIOEventHandler delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See Also

Reference

Microsoft.PointOfService Namespace