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: 2.14.1869
Syntax
ConnectionReestablisher GetConnectionReestablisher(
	long thresholdTime
)

Parameters

thresholdTime
Type: SystemInt64
How long the Connection reestablisher will wait before attempting to reconnection to the printer.

Return Value

Type: 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