ErrorDetails 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.
The details of the error.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ErrorDetailsTypeConverter))]
public class ErrorDetails : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IErrorDetails, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IErrorDetailsInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ErrorDetailsTypeConverter))>]
type ErrorDetails = class
interface IErrorDetails
interface IJsonSerializable
interface IErrorDetailsInternal
Public Class ErrorDetails
Implements IErrorDetails, IErrorDetailsInternal
- Inheritance
-
ErrorDetails
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ErrorDetails() |
Creates an new ErrorDetails instance. |
Properties
| Name | Description |
|---|---|
| Code |
Error code. |
| Message |
Error message indicating why the operation failed. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ErrorDetails. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ErrorDetails. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IErrorDetails. |
| FromJsonString(String) |
Creates a new instance of ErrorDetails, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ErrorDetails into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IErrorDetailsInternal.Code |
Internal Acessors for Code |
| IErrorDetailsInternal.Message |
Internal Acessors for Message |