Click or drag to resize

ConnectionGetConnectionReestablisher Method

Returns a ConnectionReestablisher which allows for easy recreation of a connection which may have been closed.

Namespace: Zebra.Sdk.Comm
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
ConnectionReestablisher GetConnectionReestablisher(
	long thresholdTime
)

Parameters

thresholdTime  Int64
How long the Connection reestablisher will wait before attempting to reconnection to the printer.

Return Value

ConnectionReestablisher
Instance of ConnectionReestablisher
Exceptions
ExceptionCondition
ConnectionExceptionIf the ConnectionReestablisher could not be created.
Remarks
This call should be made while there is still an active connection to the printer (prior to issuing a command which will make the printer non-responsive).
See Also