azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.sdk.iot...

30 строки
2.3 KiB
YAML

### 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: <xref href="IOException?alt=IOException&text=IOException" data-throw-if-not-resolved="False"/>
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: <xref href="com.microsoft.azure.sdk.iot.service.exceptions.IotHubException?alt=com.microsoft.azure.sdk.iot.service.exceptions.IotHubException&text=IotHubException" data-throw-if-not-resolved="False"/>
syntax: public ErrorContext(IotHubException exception)
uid: com.microsoft.azure.sdk.iot.service.messaging.ErrorContext.ErrorContext(IotHubException)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
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: <p>The context for a given connection loss event for <xref uid="com.microsoft.azure.sdk.iot.service.messaging.MessageFeedbackProcessorClient" data-throw-if-not-resolved="false" data-raw-source="MessageFeedbackProcessorClient"></xref>, <xref uid="com.microsoft.azure.sdk.iot.service.messaging.FileUploadNotificationProcessorClient" data-throw-if-not-resolved="false" data-raw-source="FileUploadNotificationProcessorClient"></xref>, and <xref uid="com.microsoft.azure.sdk.iot.service.messaging.MessagingClient" data-throw-if-not-resolved="false" data-raw-source="MessagingClient"></xref>. 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.). </p>
metadata: {}