IotHubTransportManager.close 方法

定义

Closes all resources used to communicate with an IoT Hub. Onceclose() 

</code> is called, the transport is no longer usable. If the transport is already closed, the function shall do nothing.</p>

public void close()

例外

IOException

if an error occurs in closing the transport.

适用于