ElectronicValueRW.ActivateEVService Method (POS for .NET v1.14.1 SDK Documentation)

3/28/2017

Activates the service on the device.

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

Syntax

'Declaration
Public MustOverride Function ActivateEVService ( _
    data As Integer, _
    obj As Object _
) As EVRWResult
public abstract EVRWResult ActivateEVService (
    int data,
    Object obj
)
public:
virtual EVRWResult ActivateEVService (
    int data, 
    Object^ obj
) abstract
public abstract EVRWResult ActivateEVService (
    int data, 
    Object obj
)
public abstract function ActivateEVService (
    data : int, 
    obj : Object
) : EVRWResult

Parameters

  • data
    Data depends on implementation.
  • obj
    Object depends on implementation.

Remarks

If the device has the activation process function, it is supported. The activation process is the initial process performed when newly installing a device or service, or when enabling the function disabled at the time of factory shipment.

The contents of data are dependent on service.

This method is performed synchronously if AsyncMode is false, and asynchronously if it is true.

For consistency, a Service must always fire at least one TransitionEvent with an incomplete progress completion percentage (i.e. a percentage between 1 and 99), even if the device cannot physically report the progress of the process. If the process completes successfully, the Service must fire a TransitionEvent with a progress of 100. These Service requirements allow applications using this method to be designed to always expect some level of progress notification.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

ElectronicValueRW Class
ElectronicValueRW Members
Microsoft.PointOfService Namespace