IConnection.CloseAsync()
DESCRIPTION
Close this connection asynchronously.
DECLARATION
System.Threading.Tasks.Task CloseAsync()
ERRORS
-
T:Nabto.Edge.Client.NabtoException
: Thrown with error codeOPERATION_IN_PROGRESS
if another close is in progreess. -
T:Nabto.Edge.Client.NabtoException
: Thrown with error codeSTOPPED
if the client instance was stopped. -
T:Nabto.Edge.Client.NabtoException
: Thrown with error codeNOT_CONNECTED
if the connection is not established.
RETURNS
Task completed when the close succeeds or fails.