Delen via


ErrorContext.IOException Property

Definition

The network level exception, if any network level exception caused this connection loss.

public System.IO.IOException IOException { get; }
member this.IOException : System.IO.IOException
Public ReadOnly Property IOException As IOException

Property Value

Remarks

For example, if you attempt to send a cloud-to-device message to a device when your device has no internet connection. If this exception is null, then IotHubServiceException will not be null.

Applies to