Share via


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

3/2/2014

Deletes the named file.

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

Syntax

'Declaration
Public MustOverride Sub Delete ( _
    fileName As String _
)
public abstract void Delete (
    string fileName
)
public:
virtual void Delete (
    String^ fileName
) abstract
public abstract void Delete (
    String fileName
)
public abstract function Delete (
    fileName : String
)

Parameters

  • fileName
    The fileName parameter specifies the totals file to delete.

Remarks

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

Value

Meaning

Claimed

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

Illegal

The fileName is too long or contains invalid characters.

NoExist

fileName was not found.

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.Create Method
Find
Rename