SearchModelFactory.KnowledgeSourceFileIngestionError(String, String) Method
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.
The error returned by a failed file ingestion operation.
public static Azure.Search.Documents.Indexes.Models.KnowledgeSourceFileIngestionError KnowledgeSourceFileIngestionError(string code = default, string message = default);
static member KnowledgeSourceFileIngestionError : string * string -> Azure.Search.Documents.Indexes.Models.KnowledgeSourceFileIngestionError
Public Shared Function KnowledgeSourceFileIngestionError (Optional code As String = Nothing, Optional message As String = Nothing) As KnowledgeSourceFileIngestionError
Parameters
- code
- String
A machine-readable error code.
- message
- String
A description of the failure.
Returns
A new KnowledgeSourceFileIngestionError instance for mocking.