ElectronicJournal.EraseMedium Method (POS for .NET v1.12 SDK Documentation)
2/27/2008
Erases all data in the medium.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub EraseMedium
public abstract void EraseMedium ()
public:
virtual void EraseMedium () abstract
public abstract void EraseMedium ()
public abstract function EraseMedium ()
Remarks
All the data in this medium is erased. This includes Marker information.
This method is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.
When it is performed asynchronously, the results are stored in an OutputCompleteEvent event. If method fails or the OutputCompleteEvent event cannot be delivered, ErrorEvent event will be raised.
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
ElectronicJournal Class
ElectronicJournal Members
Microsoft.PointOfService Namespace
CapErasableMedium
AsyncMode