Click or drag to resize

ConnectionWaitForData Method

Causes the currently executing thread to sleep until BytesAvailable > 0, or for a maximum of maxTimeout milliseconds.

Namespace:  Zebra.Sdk.Comm
Assembly:  SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax
void WaitForData(
	int maxTimeout
)

Parameters

maxTimeout
Type: SystemInt32
The maximum time in milliseconds to wait for an initial response from the printer.
Exceptions
ExceptionCondition
ConnectionExceptionIf an I/O error occurs.
See Also