ErrorContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET