Share via


Error Class

Definition

Error contract returned when some exception occurs in ASR REST API.

[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/windowsazure")]
public class Error
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/windowsazure")>]
type Error = class
Public Class Error
Inheritance
Error
Derived
Attributes

Constructors

Error()

Initializes a new instance of the Error class.

Error(ServiceError)

Initializes a new instance of the Error class with required parameters.

Error(String, String, String, String, String)

Initializes a new instance of the Error class.

Properties

ClientRequestId

Gets or sets client request Id.

Code

Gets or sets error code.

Message

Gets or sets error message.

PossibleCauses

Gets or sets possible causes of error.

RecommendedAction

Gets or sets recommended action to resolve error.

Applies to