BumpBar.Timeout Property
Contains the timeout value used to complete output methods.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim bumpBar1 As BumpBar
Dim returnValue As Integer
returnValue = bumpBar1.Timeout
Dim sampleValue As Integer
bumpBar1.Timeout = sampleValue
Syntax
'Declaration
Public MustOverride Property Timeout() As Integer
public abstract int Timeout {get; set;}
public: property virtual Int32 Timeout{
Int32 get();
Void set(Int32);
}
public abstract int get_Timeout();
public abstract void set_Timeout(int);
public abstract function get Timeout() : int;
public abstract function set Timeout(int);
Remarks
Contains the timeout value (in milliseconds) used by the bump bar device to complete all supported output methods. If the device cannot successfully complete an output method within the timeout value, then the method returns a failure status if AsyncMode is FALSE, or queues an ErrorEvent if AsyncMode is TRUE.
Timeout is typically initialized to a service object-dependent timeout.
Accessing Timeout can cause the following exception to be thrown:
Value |
Meaning |
Illegal |
A negative timeout 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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
AsyncMode
ErrorString
BumpBarSound