IotHubDeviceClient.Dispose(Boolean) Method

Definition

Releases the unmanaged resources used by the client and allows for any derived class to override and provide custom implementation.

protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

Setting to true will release both managed and unmanaged resources. Setting to false will only release the unmanaged resources.

Applies to