Share via


CSSearchableIndex_CSOptionalBatchingExtension.EndIndexBatch Method

Definition

Overloads

Name Description
EndIndexBatch(CSSearchableIndex, NSData, Action<NSError>)

Ends an index update batch, relying on the 250 bytes of information for crash recovery, and calls completionHandler when finished.

EndIndexBatch(CSSearchableIndex, NSData, NSData, CSSearchableIndexEndIndexHandler)

EndIndexBatch(CSSearchableIndex, NSData, Action<NSError>)

Ends an index update batch, relying on the 250 bytes of information for crash recovery, and calls completionHandler when finished.

[Foundation.Export("endIndexBatchWithClientState:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void EndIndexBatch(this CoreSpotlight.CSSearchableIndex This, Foundation.NSData clientState, Action<Foundation.NSError>? completionHandler);
[<Foundation.Export("endIndexBatchWithClientState:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member EndIndexBatch : CoreSpotlight.CSSearchableIndex * Foundation.NSData * Action<Foundation.NSError> -> unit

Parameters

This
CSSearchableIndex

The instance on which this method operates.

clientState
NSData
completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to

EndIndexBatch(CSSearchableIndex, NSData, NSData, CSSearchableIndexEndIndexHandler)

[Foundation.Export("endIndexBatchWithExpectedClientState:newClientState:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void EndIndexBatch(this CoreSpotlight.CSSearchableIndex This, Foundation.NSData? expectedClientState, Foundation.NSData newClientState, CoreSpotlight.CSSearchableIndexEndIndexHandler? completionHandler);
[<Foundation.Export("endIndexBatchWithExpectedClientState:newClientState:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member EndIndexBatch : CoreSpotlight.CSSearchableIndex * Foundation.NSData * Foundation.NSData * CoreSpotlight.CSSearchableIndexEndIndexHandler -> unit

Parameters

expectedClientState
NSData
newClientState
NSData
Attributes

Applies to