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