PersonalizerError Constructors
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.
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
Azure SDK for .NET