Share via


HardTotals.ValidateData Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Verifies that all data in the specified totals file passes validation checks.

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

Syntax

'Declaration
Public MustOverride Sub ValidateData ( _
    handle As Integer _
)
public abstract void ValidateData (
    int handle
)
public:
virtual void ValidateData (
    int handle
) abstract
public abstract void ValidateData (
    int handle
)
public abstract function ValidateData (
    handle : int
)

Parameters

  • handle
    The handle parameter contains the handle to a totals file.

Remarks

ValidateData may cause a PosControlException to be thrown with one of the following ErrorCodes.

Value

Meaning

Claimed

Cannot validate the data because either the totals file or the totals area is claimed by another application.

Illegal

The handle is invalid, or advanced error detection is not supported either by the service object or by this file.

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

HardTotals Class
HardTotals Members
Microsoft.PointOfService Namespace