Megosztás a következőn keresztül:


ErrorContext Class

Definition

The context for a given connection loss event for MessageFeedbackProcessorClient, FileUploadNotificationProcessorClient, and MessagesClient.

public class ErrorContext
type ErrorContext = class
Public Class ErrorContext
Inheritance
ErrorContext

Remarks

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.).

Properties

IOException

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

IotHubServiceException

The IoT hub level exception, if any IoT hub level exception caused this connection loss.

Applies to