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.Comm
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

ExceptionCondition
ZSDK_API.ApiException..::.ZebraPrinterConnectionExceptionIf an I/O error occurs.

See Also