Share via


BumpBar.Timeout Property

2/27/2008

Gets or sets the time-out value that is used to complete output methods.

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

Syntax

'Declaration
Public MustOverride Property Timeout As Integer
public abstract int Timeout { get; set; }
public:
virtual property int Timeout {
    int get () abstract;
    void set (int value) abstract;
}
/** @property */
public abstract int get_Timeout ()

/** @property */
public abstract void set_Timeout (int value)
public abstract function get Timeout () : int

public abstract function set Timeout (value : int)

Remarks

The time-out value (in milliseconds) is used by the bump bar device to complete all supported output methods. If the device cannot successfully complete an output method within the specified time, the method returns a failure status if the AsyncMode property is false, or queues an ErrorEvent event, if the AsyncMode property is true.

The Timeout property is set by the service object.

Accessing Timeout property may cause a PosControlException exception to be thrown with the following ErrorCodes.

Value

Meaning

Illegal

A negative time-out value was specified. The ErrorCodeExtended property is updated before return.

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

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
BumpBar.AsyncMode Property
BumpBar.ErrorString Property
BumpBar.BumpBarSound Method
BumpBar.Timeout Property
ErrorEvent