Share via


ItemError Constructors

Definition

Overloads

ItemError()

Initializes a new instance of the ItemError class.

ItemError(String, String, Int32, String, String, String)

Initializes a new instance of the ItemError class.

ItemError()

Source:
ItemError.cs

Initializes a new instance of the ItemError class.

public ItemError ();
Public Sub New ()

Applies to

ItemError(String, String, Int32, String, String, String)

Source:
ItemError.cs

Initializes a new instance of the ItemError class.

public ItemError (string key = default, string errorMessage = default, int statusCode = 0, string name = default, string details = default, string documentationLink = default);
new Microsoft.Azure.Search.Models.ItemError : string * string * int * string * string * string -> Microsoft.Azure.Search.Models.ItemError
Public Sub New (Optional key As String = Nothing, Optional errorMessage As String = Nothing, Optional statusCode As Integer = 0, Optional name As String = Nothing, Optional details As String = Nothing, Optional documentationLink As String = Nothing)

Parameters

key
String

The key of the item for which indexing failed.

errorMessage
String

The message describing the error that occurred while processing the item.

statusCode
Int32

The status code indicating why the indexing operation failed. Possible values include: 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy.

name
String

The name of the source at which the error originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available.

details
String

Additional, verbose details about the error to assist in debugging the indexer. This may not be always available.

documentationLink
String

A link to a troubleshooting guide for these classes of errors. This may not be always available.

Applies to