你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ErrorContext.IOException 属性

定义

网络级别异常(如果任何网络级别异常导致此连接丢失)。

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

属性值

注解

例如,如果你尝试在设备没有 Internet 连接时向设备发送云到设备的消息。 如果此异常为 null,则 IotHubServiceException 不会为 null。

适用于