ToneIndicator.Tone1Duration Property
2/27/2008
Gets or sets the duration of the first tone in milliseconds.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property Tone1Duration As Integer
public abstract int Tone1Duration { get; set; }
public:
virtual property int Tone1Duration {
int get () abstract;
void set (int value) abstract;
}
/** @property */
public abstract int get_Tone1Duration ()
/** @property */
public abstract void set_Tone1Duration (int value)
public abstract function get Tone1Duration () : int
public abstract function set Tone1Duration (value : int)
Remarks
Tone1Duration is set and kept current by the Service Object while the device is enabled.
Accessing Tone1Duration can throw general exceptions and a PosControlException exception. In this case, the PostControlException.ErrorCode property is set to the following value:
Value |
Meaning |
Illegal |
The value specified is not valid. |
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