PersonalizerError Constructors

Definition

Overloads

PersonalizerError()

Initializes a new instance of the PersonalizerError class.

PersonalizerError(String, String, String, IList<PersonalizerError>, InternalError)

Initializes a new instance of the PersonalizerError class.

PersonalizerError()

Initializes a new instance of the PersonalizerError class.

public PersonalizerError ();
Public Sub New ()

Applies to

PersonalizerError(String, String, String, IList<PersonalizerError>, InternalError)

Initializes a new instance of the PersonalizerError class.

public PersonalizerError (string code, string message, string target = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError> details = default, Microsoft.Azure.CognitiveServices.Personalizer.Models.InternalError innerError = default);
new Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError> * Microsoft.Azure.CognitiveServices.Personalizer.Models.InternalError -> Microsoft.Azure.CognitiveServices.Personalizer.Models.PersonalizerError
Public Sub New (code As String, message As String, Optional target As String = Nothing, Optional details As IList(Of PersonalizerError) = Nothing, Optional innerError As InternalError = Nothing)

Parameters

code
String

High level error code. Possible values include: 'BadRequest', 'ResourceNotFound', 'InternalServerError'

message
String

A message explaining the error reported by the service.

target
String

Error source element.

details
IList<PersonalizerError>

An array of details about specific errors that led to this reported error.

innerError
InternalError

Finer error details.

Applies to