Share via


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

3/28/2017

Deactivates the current service.

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

Syntax

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

Parameters

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

Remarks

If the device has the deactivation process function, it is supported. The deactivation process is the terminate process performed when uninstalling a service or removing a device.

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