ServiceError 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.
API error details.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ServiceErrorTypeConverter))]
public class ServiceError : Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IServiceError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ServiceErrorTypeConverter))>]
type ServiceError = class
interface IServiceError
interface IJsonSerializable
Public Class ServiceError
Implements IServiceError
- Inheritance
-
ServiceError
- Attributes
- Implements
Constructors
ServiceError() |
Creates an new ServiceError instance. |
Properties
Code |
Error code. |
Detail |
List of error details. |
Message |
Error message. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ServiceError. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ServiceError. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IServiceError. |
FromJsonString(String) |
Creates a new instance of ServiceError, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ServiceError into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |