Share via


ToneIndicator.SoundImmediate Method

2/27/2008

Sounds the hardware tone generator one time, synchronously.

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

Syntax

'Declaration
Public MustOverride Sub SoundImmediate
public abstract void SoundImmediate ()
public:
virtual void SoundImmediate () abstract
public abstract void SoundImmediate ()
public abstract function SoundImmediate ()

Remarks

Both tone1 and tone2 are sounded, with their InterToneWait property.

If asynchronous output is outstanding, then it is stopped before playing the immediate sound (as if ClearOutput were called). The SoundImmediate method is primarily intended for use in exception conditions when asynchronous output is outstanding, such as in an error event handler.

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

ToneIndicator Class
ToneIndicator Members
Microsoft.PointOfService Namespace