Share via


APIError Constructors

Definition

Overloads

APIError()

Initializes a new instance of the APIError class.

APIError(Object, String)

Initializes a new instance of the APIError class.

APIError()

Source:
APIError.cs

Initializes a new instance of the APIError class.

public APIError ();
Public Sub New ()

Applies to

APIError(Object, String)

Source:
APIError.cs

Initializes a new instance of the APIError class.

public APIError (object code = default, string message = default);
new Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.APIError : obj * string -> Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.APIError
Public Sub New (Optional code As Object = Nothing, Optional message As String = Nothing)

Parameters

code
Object

The error code.

message
String

A message explaining the error reported by the service.

Applies to