### YamlMime:JavaType
constructors:
- fullName: com.microsoft.azure.sdk.iot.service.messaging.ErrorContext.ErrorContext(IOException exception)
name: ErrorContext(IOException exception)
nameWithType: ErrorContext.ErrorContext(IOException exception)
parameters:
- name: exception
type:
syntax: public ErrorContext(IOException exception)
uid: com.microsoft.azure.sdk.iot.service.messaging.ErrorContext.ErrorContext(IOException)
- fullName: com.microsoft.azure.sdk.iot.service.messaging.ErrorContext.ErrorContext(IotHubException exception)
name: ErrorContext(IotHubException exception)
nameWithType: ErrorContext.ErrorContext(IotHubException exception)
parameters:
- name: exception
type:
syntax: public ErrorContext(IotHubException exception)
uid: com.microsoft.azure.sdk.iot.service.messaging.ErrorContext.ErrorContext(IotHubException)
inheritances:
-
nameWithType: ErrorContext
syntax: public class ErrorContext
type: class
uid: com.microsoft.azure.sdk.iot.service.messaging.ErrorContext
fullName: com.microsoft.azure.sdk.iot.service.messaging.ErrorContext
name: ErrorContext
package: com.microsoft.azure.sdk.iot.service.messaging
summary:
The context for a given connection loss event for , , and . The context includes the cause of the connection loss and makes a distinction between network level issues (no internet) and IoT Hub level issues (resource not found, throttling, internal server error, etc.).
metadata: {}