Provides implementation for WaitForData(Int32).
Causes the currently executing thread to sleep until BytesAvailable() > 0, or for a maximum of maxTimeout milliseconds.
Namespace:
ZSDK_API.CommCauses the currently executing thread to sleep until BytesAvailable() > 0, or for a maximum of maxTimeout milliseconds.
Assembly: ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0
Syntax
C# |
---|
public void WaitForData( int maxTimeout ) |
Visual Basic (Declaration) |
---|
Public Sub WaitForData ( _ maxTimeout As Integer _ ) |
Parameters
- maxTimeout
- Type: System..::.Int32
Maximum time in milliseconds to wait for an initial response from the printer.
Implements
ZebraPrinterConnection..::.WaitForData(Int32)Exceptions
Exception | Condition |
---|---|
ZSDK_API.ApiException..::.ZebraPrinterConnectionException | If an I/O error occurs. |