SearchModelFactory.KnowledgeSourceSynchronizationError Method

Definition

Represents a document-level indexing error encountered during a knowledge source synchronization run.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceSynchronizationError KnowledgeSourceSynchronizationError(string docId = default, int? statusCode = default, string name = default, string errorMessage = default, string details = default, Uri documentationLink = default);
static member KnowledgeSourceSynchronizationError : string * Nullable<int> * string * string * string * Uri -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceSynchronizationError
Public Shared Function KnowledgeSourceSynchronizationError (Optional docId As String = Nothing, Optional statusCode As Nullable(Of Integer) = Nothing, Optional name As String = Nothing, Optional errorMessage As String = Nothing, Optional details As String = Nothing, Optional documentationLink As Uri = Nothing) As KnowledgeSourceSynchronizationError

Parameters

docId
String

The unique identifier for the failed document or item within the synchronization run.

statusCode
Nullable<Int32>

HTTP-like status code representing the failure category (e.g., 400).

name
String

Name of the ingestion or processing component reporting the error.

errorMessage
String

Human-readable, customer-visible error message.

details
String

Additional contextual information about the failure.

documentationLink
Uri

A link to relevant troubleshooting documentation.

Returns

A new KnowledgeSourceSynchronizationError instance for mocking.

Applies to