DeviceStatusChangedEventHandler Delegate

2/27/2008

Defines the method that handles the DeviceStatusChangedEventHandler event.

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

Syntax

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

Parameters

  • sender
    The source of the event.

Remarks

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

When you create a DeviceStatusChangedEventHandler 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