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