ErrorCode Enum
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.
Unique code for each instance of DeviceGateway exception that identifies the error condition that caused the failure.
public enum ErrorCode
type ErrorCode =
Public Enum ErrorCode
- Inheritance
-
ErrorCode
Fields
AuthorizationRulesExceededQuota | 200 | Bad Request |
GarbageCollectionFailed | 107 | |
InvalidEventHubAccessRight | 109 | |
InvalidIotHubName | 201 | |
InvalidOperationId | 202 | |
IotHubActivationFailed | 300 | Internal Error |
IotHubDeletionFailed | 301 | |
IotHubExportFailed | 302 | |
IotHubImportFailed | 304 | |
IotHubInvalidProperties | 310 | |
IotHubInvalidStateTransition | 308 | |
IotHubNameNotAvailable | 203 | |
IotHubNotFoundInDatabase | 102 | |
IotHubsExportFailed | 303 | |
IotHubsImportFailed | 305 | |
IotHubStateTransitionNotDefined | 309 | |
IotHubUpdateFailed | 108 | |
KeyNameNotFound | 400 | Not found |
MultipleMatchingResourcesFound | 106 | |
NoMatchingResourceFound | 105 | |
NoMatchingResourcePoolFound | 103 | |
None | -1 | |
OrchestrationRunningOnIotHub | 101 | |
OrchestrationStateInvalid | 100 | |
ResourcePoolNotFound | 104 | |
SystemPropertiesNotAllowed | 204 | |
WinFabApplicationCleanupNotAttempted | 1000 | Internal Warning Range 1000-1299 |
WinFabApplicationUpgradeFailed | 306 | |
WinFabClusterUpgradeFailed | 307 |
Remarks
These error codes will allow us to do automatic analysis and aggregation of error responses sent from resource provider and frontend.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for