ArmDeviceRegistryModelFactory.DeviceRegistryErrorDetails Method

Definition

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.

Applies to