ErrorDefinition 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.
Error definition.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.ErrorDefinitionTypeConverter))]
public class ErrorDefinition : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IErrorDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.ErrorDefinitionTypeConverter))>]
type ErrorDefinition = class
interface IErrorDefinition
interface IJsonSerializable
Public Class ErrorDefinition
Implements IErrorDefinition
- Inheritance
-
ErrorDefinition
- Attributes
- Implements
Constructors
ErrorDefinition() |
Creates an new ErrorDefinition instance. |
Properties
Code |
Service specific error code which serves as the substatus for the HTTP error code. |
Detail |
Internal error details. |
Message |
Description of the error. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ErrorDefinition. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ErrorDefinition. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IErrorDefinition. |
FromJsonString(String) |
Creates a new instance of ErrorDefinition, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ErrorDefinition into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |