Dela via


IndexingResult Constructors

Definition

Overloads

IndexingResult()

Initializes a new instance of the IndexingResult class.

IndexingResult(String, String, Boolean, Int32)

Initializes a new instance of the IndexingResult class.

IndexingResult()

Source:
IndexingResult.cs

Initializes a new instance of the IndexingResult class.

public IndexingResult ();
Public Sub New ()

Applies to

IndexingResult(String, String, Boolean, Int32)

Source:
IndexingResult.cs

Initializes a new instance of the IndexingResult class.

public IndexingResult (string key = default, string errorMessage = default, bool succeeded = false, int statusCode = 0);
new Microsoft.Azure.Search.Models.IndexingResult : string * string * bool * int -> Microsoft.Azure.Search.Models.IndexingResult
Public Sub New (Optional key As String = Nothing, Optional errorMessage As String = Nothing, Optional succeeded As Boolean = false, Optional statusCode As Integer = 0)

Parameters

key
String

The key of a document that was in the indexing request.

errorMessage
String

The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded.

succeeded
Boolean

A value indicating whether the indexing operation succeeded for the document identified by the key.

statusCode
Int32

The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 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.

Applies to