ArmDeviceRegistryModelFactory.DeviceRegistryErrorDetails Method
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.
Defines the error details properties.
public static Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryErrorDetails DeviceRegistryErrorDetails(string code = default, string message = default, string info = default, string correlationId = default);
static member DeviceRegistryErrorDetails : string * string * string * string -> Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryErrorDetails
Public Shared Function DeviceRegistryErrorDetails (Optional code As String = Nothing, Optional message As String = Nothing, Optional info As String = Nothing, Optional correlationId As String = Nothing) As DeviceRegistryErrorDetails
Parameters
- code
- String
Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
- message
- String
Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
- info
- String
Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).
- correlationId
- String
Unique identifier for the transaction to aid in debugging.
Returns
A new DeviceRegistryErrorDetails instance for mocking.