GraphQueryError 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 message body that will indicate why the operation failed.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.GraphQueryErrorTypeConverter))]
public class GraphQueryError : Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.IGraphQueryError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.GraphQueryErrorTypeConverter))>]
type GraphQueryError = class
interface IGraphQueryError
interface IJsonSerializable
Public Class GraphQueryError
Implements IGraphQueryError
- Inheritance
-
GraphQueryError
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| GraphQueryError() |
Creates an new GraphQueryError instance. |
Properties
| Name | Description |
|---|---|
| Code |
Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. |
| Detail |
The list of invalid fields send in request, in case of validation error. |
| Message |
Human-readable representation of the error. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of GraphQueryError. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of GraphQueryError. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.IGraphQueryError. |
| FromJsonString(String) |
Creates a new instance of GraphQueryError, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of GraphQueryError into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |