ErrorBody Class

Definition

Cognitive Services error body.

public class ErrorBody
type ErrorBody = class
Public Class ErrorBody
Inheritance
System.Object
ErrorBody

Constructors

ErrorBody()

Initializes a new instance of the ErrorBody class.

ErrorBody(String, String)

Initializes a new instance of the ErrorBody class.

Properties

Code

Gets or sets error code

Message

Gets or sets error message

Methods

Validate()

Validate the object.

Applies to