ProvisioningServiceClientHttpException 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.
This is the subset of the Device Provisioning Service exceptions for the exceptions reported by the Service.
public class ProvisioningServiceClientHttpException : Microsoft.Azure.Devices.Provisioning.Service.ProvisioningServiceClientTransportException
type ProvisioningServiceClientHttpException = class
inherit ProvisioningServiceClientTransportException
Public Class ProvisioningServiceClientHttpException
Inherits ProvisioningServiceClientTransportException
- Inheritance
-
ProvisioningServiceClientHttpException
Remarks
This exception identify that the provisioning service respond the HTTP request with a error status code.
ProvisioningServiceClientHttpException [any exception reported in the HTTP response]
\ \ \ \__StatusCode [the returned HTTP status code]
\ \ \___ErrorMessage [the root cause of the error]
\ \____Body [the HTTP message body with details about the error]
\_____Filds [the HTTP head fields that may provide more details about the error]
Constructors
ProvisioningServiceClientHttpException() |
Initializes the ProvisioningServiceClientHttpException class. |
ProvisioningServiceClientHttpException(String, Exception) |
Initializes the ProvisioningServiceClientHttpException class. |
ProvisioningServiceClientHttpException(String) |
Initializes the ProvisioningServiceClientHttpException class. |
Properties
Body |
The HTTP body. |
ErrorMessage |
The error message. |
Fields |
The HTTP headers. |
IsTransient |
True if the error is transient. (Inherited from ProvisioningServiceClientException) |
StatusCode |
The HTTP status code. |
Applies to
Azure SDK for .NET