IndexBatchException Class

Definition

Exception thrown when an indexing operation only partially succeeds.

public class IndexBatchException : Microsoft.Rest.Azure.CloudException
type IndexBatchException = class
    inherit CloudException
Public Class IndexBatchException
Inherits CloudException
Inheritance
System.Exception
IndexBatchException

Constructors

IndexBatchException(DocumentIndexResult)

Initializes a new instance of the IndexBatchException class.

Properties

Body

Gets or sets the response object.

(Inherited from CloudException)
IndexingResults

Gets the results for the index batch that contains the status for each individual index action.

Request

Gets information about the associated HTTP request.

(Inherited from CloudException)
RequestId

Gets or sets the value that uniquely identifies a request made against the service.

(Inherited from CloudException)
Response

Gets information about the associated HTTP response.

(Inherited from CloudException)

Methods

FindFailedActionsToRetry(IndexBatch<Document>, String)

Finds all index actions in the given batch that failed and need to be retried, and returns them in a new batch.

FindFailedActionsToRetry<T>(IndexBatch<T>, Func<T,String>)

Finds all index actions in the given batch that failed and need to be retried, and returns them in a new batch.

Extension Methods

IsAccessConditionFailed(CloudException)

Indicates whether the exception is the result of a failed access condition (ETag) check.

Applies to