다음을 통해 공유


IndexerExecutionResult Constructors

Definition

Overloads

IndexerExecutionResult()

Initializes a new instance of the IndexerExecutionResult class.

IndexerExecutionResult(IndexerExecutionStatus, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IList<ItemError>, IList<ItemWarning>, Int32, Int32, String, String)

Initializes a new instance of the IndexerExecutionResult class.

IndexerExecutionResult()

Source:
IndexerExecutionResult.cs

Initializes a new instance of the IndexerExecutionResult class.

public IndexerExecutionResult ();
Public Sub New ()

Applies to

IndexerExecutionResult(IndexerExecutionStatus, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IList<ItemError>, IList<ItemWarning>, Int32, Int32, String, String)

Source:
IndexerExecutionResult.cs

Initializes a new instance of the IndexerExecutionResult class.

public IndexerExecutionResult (Microsoft.Azure.Search.Models.IndexerExecutionStatus status = Microsoft.Azure.Search.Models.IndexerExecutionStatus.TransientFailure, string errorMessage = default, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ItemError> errors = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ItemWarning> warnings = default, int itemCount = 0, int failedItemCount = 0, string initialTrackingState = default, string finalTrackingState = default);
new Microsoft.Azure.Search.Models.IndexerExecutionResult : Microsoft.Azure.Search.Models.IndexerExecutionStatus * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ItemError> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ItemWarning> * int * int * string * string -> Microsoft.Azure.Search.Models.IndexerExecutionResult
Public Sub New (Optional status As IndexerExecutionStatus = Microsoft.Azure.Search.Models.IndexerExecutionStatus.TransientFailure, Optional errorMessage As String = Nothing, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional errors As IList(Of ItemError) = Nothing, Optional warnings As IList(Of ItemWarning) = Nothing, Optional itemCount As Integer = 0, Optional failedItemCount As Integer = 0, Optional initialTrackingState As String = Nothing, Optional finalTrackingState As String = Nothing)

Parameters

status
IndexerExecutionStatus

The outcome of this indexer execution. Possible values include: 'transientFailure', 'success', 'inProgress', 'reset'

errorMessage
String

The error message indicating the top-level error, if any.

startTime
Nullable<DateTimeOffset>

The start time of this indexer execution.

endTime
Nullable<DateTimeOffset>

The end time of this indexer execution, if the execution has already completed.

errors
IList<ItemError>

The item-level indexing errors.

warnings
IList<ItemWarning>

The item-level indexing warnings.

itemCount
Int32

The number of items that were processed during this indexer execution. This includes both successfully processed items and items where indexing was attempted but failed.

failedItemCount
Int32

The number of items that failed to be indexed during this indexer execution.

initialTrackingState
String

Change tracking state with which an indexer execution started.

finalTrackingState
String

Change tracking state with which an indexer execution finished.

Applies to