Share via


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

3/2/2014

Releases exclusive access to a specific file.

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

Syntax

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

Parameters

  • handle
    The handle parameter contains the handle to the totals file to be released.

Remarks

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

Value

Meaning

Illegal

The handle is invalid, or the specified file is not claimed by this application.

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
HardTotals.ClaimFile Method